Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/nmap/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
new file mode 100644
index 00000000..168f0c39
--- /dev/null
+++ b/extra/nmap/PKGBUILD
@@ -0,0 +1,21 @@
+# skip zenmap on i486 - we don't have pygtk there
+makedepends=(${makedepends[@]/pygtk/})
+optdepends=("${optdepends[@]/pygtk:*/}")
+
+makedepends_i686=(pygtk)
+makedepends_pentium4=(pygtk)
+optdepends_i686=('pygtk: zenmap')
+optdepends_pentium4=('pygtk: zenmap')
+
+if [ "${CARCH}" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s,/configure ,\0--without-zenmap ,
+ '
+ declare -f package | \
+ sed '
+ /zenmap/d
+ '
+ )"
+fi