diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libproxy/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD index 2158a59b..dd01d027 100644 --- a/extra/libproxy/PKGBUILD +++ b/extra/libproxy/PKGBUILD @@ -13,11 +13,16 @@ optdepends_pentium4=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') optdepends_x86_64=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') eval "$( - declare -f package_libproxy-webkit \ - | sed ' - 2 a [ "${CARCH}" != i486 ] || return - ' + declare -f package_libproxy-webkit | \ + sed ' + /^\s*{\s*$/ a arch=('"$( + printf '%s\n' "${arch[@]}" | \ + grep -vxF 'i486' | \ + tr '\n' ' ' + )"') + ' )" + if [ "${CARCH}" = 'i486' ]; then eval "$( declare -f build | \ |