From e7f3f03caa311b63f32349c2d6a880274a9fdf66 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 5 Feb 2021 08:44:08 +0100 Subject: extra/libproxy: *really* fix the packaging ... --- extra/libproxy/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'extra') 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 | \ -- cgit v1.2.3-70-g09d2