Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libproxy
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-02-05 07:38:05 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-02-05 07:38:05 +0100
commit9265965a3e0ee86770decf50a9078e3c63d55ba6 (patch)
treede4c82c3e4628359cd9ae45cb97ba5c0a0b8066d /extra/libproxy
parent170db34ecc15ab5ee6047182248b350359c22d5c (diff)
extra/libproxy: fixed building and i486 patching (FS32#140)
Diffstat (limited to 'extra/libproxy')
-rw-r--r--extra/libproxy/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
index 53b87429..959b8906 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -7,10 +7,19 @@ IFS="${_oifs}"
makedepends_i686=(webkit2gtk)
makedepends_pentium4=(webkit2gtk)
+makedepends_x86_64=(webkit2gtk)
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)')
if [ "${CARCH}" = 'i486' ]; then
+ pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -v '^libproxy-webkit'
+ )
+ )
+ unset package_libproxy-webkit
eval "$(
declare -f build | \
sed '
@@ -20,5 +29,9 @@ if [ "${CARCH}" = 'i486' ]; then
sed '
/zenmap/d
'
+ declare -f package_libproxy | \
+ sed '
+ /_pick.*webkit.*/d
+ '
)"
fi