Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nmap/PKGBUILD
blob: 168f0c3957011aacd6d1c816712f70e6ff4b4057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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