diff options
-rw-r--r-- | extra/libproxy/PKGBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD index 959b8906..2158a59b 100644 --- a/extra/libproxy/PKGBUILD +++ b/extra/libproxy/PKGBUILD @@ -12,14 +12,13 @@ optdepends_i686=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') 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 + ' +)" if [ "${CARCH}" = 'i486' ]; then - pkgname=( - $( - printf '%s\n' "${pkgname[@]}" | \ - grep -v '^libproxy-webkit' - ) - ) - unset package_libproxy-webkit eval "$( declare -f build | \ sed ' |