Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/libproxy/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
new file mode 100644
index 00000000..53b87429
--- /dev/null
+++ b/extra/libproxy/PKGBUILD
@@ -0,0 +1,24 @@
+# skip webkit2gtk on i486 - we don't have that there
+makedepends=(${makedepends[@]/webkit2gtk/})
+_oifs="${IFS}"
+IFS=$(printf '\n')
+optdepends=(${optdepends[@]/webkit2gtk:*/})
+IFS="${_oifs}"
+
+makedepends_i686=(webkit2gtk)
+makedepends_pentium4=(webkit2gtk)
+optdepends_i686=('webkit2gtk: PAC proxy support (Webkit2gtk engine)')
+optdepends_pentium4=('webkit2gtk: PAC proxy support (Webkit2gtk engine)')
+
+if [ "${CARCH}" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ /cmake / s,\( -DWITH_WEBKIT3=\)ON,\1OFF,
+ '
+ declare -f package | \
+ sed '
+ /zenmap/d
+ '
+ )"
+fi