diff options
Diffstat (limited to 'core/pacman/PKGBUILD')
-rw-r--r-- | core/pacman/PKGBUILD | 12 |
1 files changed, 12 insertions, 0 deletions
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 |