Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libproxy/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-02-05 08:44:08 +0100
committerErich Eckner <git@eckner.net>2021-02-05 08:44:08 +0100
commite7f3f03caa311b63f32349c2d6a880274a9fdf66 (patch)
tree9e76e66804af924d3783b27e28886d1791ec889a /extra/libproxy/PKGBUILD
parentbd2bd62103289e4df95c893ad829ba390b425a5c (diff)
extra/libproxy: *really* fix the packaging ...
Diffstat (limited to 'extra/libproxy/PKGBUILD')
-rw-r--r--extra/libproxy/PKGBUILD13
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 | \