blob: 1a0491e047eb4aaa3cfcc2803d78fde215793ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# upstream git revision: 819bac64f58416f1910c65c8ee40f919cf51ccbb
depends+=(archlinux32-keyring)
# fail if upstream changes makepkg.conf or pacman.conf
if [ "${sha256sums[4]}" = '95b3b2416402059cf6acf3e046082e7ce261e2b88629231dbf579a4200d8a63b' ]; then
sha256sums[4]='008f9da1eb55e679eabbab762e106c7741d5ad303adc9644baf589a99e3c1e41'
fi
if [ "${sha256sums[5]}" = '650ddad24cad6afc4aecb4829cb8f06b9acb70c10a44f756fe8bd279949b518e' ]; then
sha256sums[5]='d1c3e5f9b7259e401ab121aff335531452d23dc67d9e6c2f464771d25f11058a'
fi
# i486-specific
if [ "${CARCH}" = "i486" ]; then
# patch architecture where needed
eval "$(
declare -f package | \
sed '
/install.*makepkg.conf/ a \
sed -i "s@i686@i486@g" "$pkgdir/etc/makepkg.conf"
'
)"
fi
|