From c9fe8ac451ccdc42d4ba3daf352a63d4271531f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 15 Jun 2019 20:29:37 +0200 Subject: extra/nmap: remove zenmap from i486 --- extra/nmap/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 extra/nmap/PKGBUILD (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2