Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nmap/PKGBUILD
blob: 432f1d1fbea9ff7cb9541710565026bfc4642695 (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/})
IFS=$(printf '\n') 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