Hi, this addresses previous feedback from agregory and also fixes a bug I found in my own testing. I've had success creating packages such as: https://aur-dev.archlinux.org/packages/ch/chromium-plugins/PKGBUILD https://aur-dev.archlinux.org/packages/go/google-chrome/PKGBUILD https://aur-dev.archlinux.org/packages/wi/wine/PKGBUILD Which are, imo, far more beautiful than the boundless "if $CARCH" checks. Feedback welcome -- I'm very interested in getting these in good enough shape to be merged for 4.2. Branch: http://code.falconindy.com/cgit/pacman.git/log/?h=arch-specific Dave Reisner (5): makepkg: break out check_checksums to reasonably sized functions makepkg: break out checksum generation to its own function PKGBUILD: add support for arch-specific sources updpkgsums: update to recognize arch-specific sources makepkg: move negation in inequality comparisons contrib/updpkgsums.sh.in | 2 +- doc/PKGBUILD.5.txt | 4 + scripts/makepkg.sh.in | 298 ++++++++++++++++++++++++++++++++--------------- 3 files changed, 208 insertions(+), 96 deletions(-) -- 2.0.4