# demonstration PKGBUILD to show bugs in makepkg (pacman) 4.2.1 pkgname='test' pkgver='0' pkgrel='0' arch=('i686' 'x86_64') source_i686=('p1_i686' 'p2_i686') # updpkgsums doesn't detect sha1,sha256,sha384,sha512 and rewrites with md5sums... sha256sums_i686=('01ffbb73e93108a05d614846b7d6283f' '3a358ffcf339560bb815e2d09ccd3ff8') # Why does updpkgsums move i686 and x86_64 together? # I place these exactly where I want them. source_x86_64=('p1_x86_64' 'p2_x86_64') sha256sums_x86_64=('75c9d22f3c16231fb7966a88fb7fe866' 'a6ff59e3b6226b13cb748ef0889dd2bf') package() { : } for _i in {p1,p2}_{i686,x86_64}; do echo "${_i}" > "${_i}" done