--- makepkg 2007-06-04 09:51:54.292907472 +0200 +++ makepkg.orig 2007-06-04 09:20:50.737551203 +0200 @@ -49,7 +49,6 @@ RMDEPS=0 REPKG=0 LOGGING=0 -IGNORE_ARCH=0 PACMAN_OPTS= @@ -375,7 +374,6 @@ echo "Usage: $0 [options]" echo echo "Options:" - echo " -A, --ignorearch Ignore your arch missing in the PKGBUILD" echo " -b, --builddeps Build missing dependencies from source" echo " -c, --clean Clean up work files after build" echo " -C, --cleancache Clean up source files from the cache" @@ -443,7 +441,6 @@ --nodeps) NODEPS=1 ;; --noextract) NOEXTRACT=1 ;; --install) INSTALL=1 ;; - --ignorearch) IGNORE_ARCH=1 ;; --force) FORCE=1 ;; --nobuild) NOBUILD=1 ;; --nocolor) USE_COLOR="n" ;; @@ -460,9 +457,8 @@ exit 1 ;; -*) - while getopts "AbcCdefghiLmop:rRsS-" opt; do + while getopts "bcCdefghiLmop:rRsS-" opt; do case $opt in - A) IGNORE_ARCH=1 ;; b) DEP_SRC=1 ;; c) CLEANUP=1 ;; C) CLEANCACHE=1 ;; @@ -572,7 +568,7 @@ error "pkgrel is not allowed to contain hyphens." exit 1 fi -if [ "$IGNORE_ARCH" = "0"] && ! in_array $CARCH ${arch[@]}; then +if ! in_array $CARCH ${arch[@]}; then error "$pkgname is not available for the '$CARCH' architecture." plain "Note that many packages may need a line added to their $BUILDSCRIPT" plain "such as arch=('$CARCH')."