index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-16 16:27:52 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-16 16:27:52 +0000 |
commit | 63fb841721b772008d15aa10e9b0a4f4afe06b56 (patch) | |
tree | 400917c66777434fe13df3c10615b1f023968cb7 /core/pacman/PKGBUILD | |
parent | bd945390486e175182221eedf6b96440504c1826 (diff) |
-rw-r--r-- | core/pacman/PKGBUILD | 12 |
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD index d85824e6..e76f402c 100644 --- a/core/pacman/PKGBUILD +++ b/core/pacman/PKGBUILD @@ -9,3 +9,15 @@ 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 |