Bring makepkg zsh completions up to date

Signed-off-by: Doug Newgard <scimmia@archlinux.info>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Doug Newgard 2016-01-30 23:02:00 -06:00 committed by Allan McRae
parent fea9abc8db
commit 252183b409

View file

@ -604,8 +604,9 @@ _makepkg_shortopts=(
'-i[Install package after successful build]' '-i[Install package after successful build]'
'-A[Ignore incomplete arch field in PKGBUILD]' '-A[Ignore incomplete arch field in PKGBUILD]'
'-c[Clean up work files after build]' '-c[Clean up work files after build]'
'-C[Remove $srcdir/ dir before building the package]'
'-d[Skip all dependency checks]' '-d[Skip all dependency checks]'
'-e[Do not extract source files (use existing src/ dir)]' '-e[Do not extract source files (use existing $srcdir/ dir)]'
'-f[Overwrite existing package]' '-f[Overwrite existing package]'
'-g[Generate integrity checks for source files]' '-g[Generate integrity checks for source files]'
'-h[Show help message and exit]' '-h[Show help message and exit]'
@ -616,6 +617,7 @@ _makepkg_shortopts=(
'-r[Remove installed dependencies after a successful build]' '-r[Remove installed dependencies after a successful build]'
'-R[Repackage contents of the package without rebuilding]' '-R[Repackage contents of the package without rebuilding]'
'-S[Generate a source-only tarball without downloading sources]' '-S[Generate a source-only tarball without downloading sources]'
'-V[Show version information and exit]'
) )
_makepkg_action_none(){ _makepkg_action_none(){
@ -626,8 +628,9 @@ _makepkg_action_none(){
_makepkg_longopts=( _makepkg_longopts=(
'--ignorearch[Ignore incomplete arch field in PKGBUILD]' '--ignorearch[Ignore incomplete arch field in PKGBUILD]'
'--clean[Clean up work files after build]' '--clean[Clean up work files after build]'
'--cleanbuild[Remove $srcdir/ dir before building the package]'
'--nodeps[Skip all dependency checks]' '--nodeps[Skip all dependency checks]'
'--noextract[Do not extract source files (use existing src/ dir)]' '--noextract[Do not extract source files (use existing $srcdir/ dir)]'
'--force[Overwrite existing package]' '--force[Overwrite existing package]'
'--geninteg[Generate integrity checks for source files]' '--geninteg[Generate integrity checks for source files]'
'--help[Show help message and exit]' '--help[Show help message and exit]'
@ -639,25 +642,27 @@ _makepkg_longopts=(
'--repackage[Repackage contents of the package without rebuilding]' '--repackage[Repackage contents of the package without rebuilding]'
'--syncdeps[Install missing dependencies with pacman]' '--syncdeps[Install missing dependencies with pacman]'
'--source[Generate a source-only tarball without downloading sources]' '--source[Generate a source-only tarball without downloading sources]'
'--version[Show version information and exit]'
'--allsource[Generate a source-only tarball including downloaded source]' '--allsource[Generate a source-only tarball including downloaded source]'
'--check[Run check() function in the PKGBUILD]' '--check[Run check() function in the PKGBUILD]'
'--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files' '--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files'
'--holdver[Prevent automatic version bumping for development PKGBUILDs]' '--holdver[Do not update VCS sources]'
'--key[Specify key to use for gpg signing instead of the default]: :_keys' '--key[Specify key to use for gpg signing instead of the default]: :_keys'
'--noarchive[Do not create the archive at the end of the build process]' '--noarchive[Do not create package archive]'
'--nocheck[Do not run the check() function in the PKGBUILD]' '--nocheck[Do not run the check() function in the PKGBUILD]'
'--noprepare[Do not run the prepare() function in the PKGBUILD]' '--noprepare[Do not run the prepare() function in the PKGBUILD]'
'--nosign[Do not create a signature for the package]' '--nosign[Do not create a signature for the package]'
'--pkg[Only build listed packages from a split package]' '--packagelist[Only list packages that would be produced, without PKGEXT]'
'--printsrcinfo[Print the generated SRCINFO and exit]'
'--sign[Sign the resulting package with gpg]' '--sign[Sign the resulting package with gpg]'
'--skipchecksums[Do not verify checksums of the source files]' '--skipchecksums[Do not verify checksums of the source files]'
'--skipinteg[do not perform any verification checks on source files]' '--skipinteg[do not perform any verification checks on source files]'
'--skippgpcheck[Do not verify source files with PGP signatures]' '--skippgpcheck[Do not verify source files with PGP signatures]'
'--noconfirm[do not ask for confirmation when resolving dependencies]' '--noconfirm[Do not ask for confirmation when resolving dependencies]'
'--asdeps[Install packages as non-explicitly installed]' '--asdeps[Install packages as non-explicitly installed]'
'--noprogressbar[Do not show a progress bar when downloading files]' '--noprogressbar[Do not show a progress bar when downloading files]'
'--needed[Do not reinstall up-to-date packages]' '--needed[Do not reinstall the targets that are already up to date]'
'--verifysource[Only download sources and verify checksums]' '--verifysource[Download source files (if needed) and perform integrity checks]'
) )
_makepkg(){ _makepkg(){
case $words[CURRENT] in case $words[CURRENT] in