Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=67c89f19817603f702359c4ee0bae71d301950d0
commit 67c89f19817603f702359c4ee0bae71d301950d0 Author: Michel Hermier <[email protected]> Date: Thu Mar 13 08:35:42 2014 +0100 makepkg: Group short and long not assigned options. diff --git a/scripts/makepkg b/scripts/makepkg index 75f6f3c..789fb59 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -1158,29 +1158,30 @@ makepkg() { --noconfirm) PACMAN_OPTS="$PACMAN_OPTS --noconfirm" ;; --noprogressbar) PACMAN_OPTS="$PACMAN_OPTS --noprogressbar" ;; # makepkg - --searchdeps) SEARCHDEPS=1 ;; - --clean) CLEANUP=1 ;; - --cleancache) CLEANCACHE=$(($CLEANCACHE+1)) ;; - --syncdeps) DEP_BIN=1 ;; - --sudosync) DEP_SUDO=1 ;; - --builddeps) DEP_SRC=1 ;; - --noccache) NOCCACHE=1 ;; - --nodeps) NODEPS=1 ;; - --noextract) NOEXTRACT=1 ;; + -a|--searchdeps) SEARCHDEPS=1 ;; + -c|--clean) CLEANUP=1 ;; + -C|--cleancache) CLEANCACHE=$(($CLEANCACHE+1)) ;; + -s|--syncdeps) DEP_BIN=1 ;; + -S|--sudosync) DEP_SUDO=1 ;; + -b|--builddeps) DEP_SRC=1 ;; + -B|--noccache) NOCCACHE=1 ;; + -d|--nodeps) NODEPS=1 ;; + -e|--noextract) NOEXTRACT=1 ;; --inchroot) INCHROOT=1 ;; - --install) INSTALL=1 ;; - --force) FORCE=1 ;; - --nostrip) NOSTRIP=1 ;; - --nobuild) NOBUILD=1 ;; - --nocolor) USE_COLOR="n" ;; - --gensha1) GENSHA1=1; CHROOT=0 ;; - --wrtsha1) GENSHA1=1; WRITESHA1=1; CHROOT=0; NODEPS=1 ;; - --rmdeps) RMDEPS=1 ;; - --chroot) CHROOT=1 ;; - --host) CHROOT=0 ;; - --noup2date) NOUP2DATE=1 ;; + -F) INFAKEROOT=1 ;; + -i|--install) INSTALL=1 ;; + -f|--force) FORCE=1 ;; + -n|--nostrip) NOSTRIP=1 ;; + -o|--nobuild) NOBUILD=1; CHROOT=0 ;; + -m|--nocolor) USE_COLOR="n" ;; + -g|--gensha1) GENSHA1=1; CHROOT=0 ;; + -G|--wrtsha1) GENSHA1=1; WRITESHA1=1; CHROOT=0; NODEPS=1 ;; + -r|--rmdeps) RMDEPS=1 ;; + -R|--chroot) CHROOT=1 ;; + -H|--host) CHROOT=0 ;; + -u|--noup2date) NOUP2DATE=1 ;; --gzip) COMPRESS_PROGRAM="gzip" ;; - --help) + -h|--help) makepkg_usage exit 0 ;; @@ -1191,37 +1192,12 @@ makepkg() { -*) while getopts "aA:bBcCdD:efFgGhij:kl:Lmnop:urRHsSt:w:z:-" opt; do case $opt in - a) SEARCHDEPS=1 ;; A) CACHEURL=$OPTARG ;; - b) DEP_SRC=1 ;; - B) NOCCACHE=1 ;; - c) CLEANUP=1 ;; - C) CLEANCACHE=$(($CLEANCACHE+1)) ;; - d) NODEPS=1 ;; D) CLEANCCACHE=$OPTARG ;; - e) NOEXTRACT=1 ;; - f) FORCE=1 ;; - F) INFAKEROOT=1 ;; - g) GENSHA1=1; CHROOT=0 ;; - G) GENSHA1=1; WRITESHA1=1; CHROOT=0; NODEPS=1 ;; - h) - makepkg_usage - exit 0 - ;; - i) INSTALL=1 ;; j) export MAKEFLAGS="-j$OPTARG" ;; l) DOWNLOAD="$OPTARG" ;; - m) USE_COLOR="n" ;; - n) NOSTRIP=1 ;; - o) NOBUILD=1; CHROOT=0 ;; p) BUILDSCRIPT=$OPTARG ;; - r) RMDEPS=1 ;; - R) CHROOT=1 ;; - H) CHROOT=0 ;; - s) DEP_BIN=1 ;; - S) DEP_SUDO=1 ;; t) TREE="$OPTARG" ;; - u) NOUP2DATE=1 ;; w) PKGDEST=$OPTARG ;; z) COMPRESS_PROGRAM=$OPTARG ;; -) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
