Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pacman/PKGBUILD
blob: e76f402c9b5e1af6e84f83ebe3cc9f3d1adc8007 (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]='240f25727c5ac21feeb14fb1d4c03b09d2cf0a43c1d02b042376c12e34b1f8ef'
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