author | Gaetan Bisson
<bisson@archlinux.org> 2020-03-16 01:00:23 UTC |
committer | Gaetan Bisson
<bisson@archlinux.org> 2020-03-16 01:00:23 UTC |
parent | 49c2bc449081c2077c06faf572c2bfef81a4f62e |
PKGBUILD | +4 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index 7a97b6a..8cff6ba 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,17 +4,14 @@ pkgname=nmap pkgver=7.80 -pkgrel=1 +pkgrel=2 pkgdesc='Utility for network discovery and security auditing' url='https://nmap.org/' arch=('x86_64') license=('GPL2') -makedepends=('pygtk') -optdepends=('pygtk: zenmap' - 'sudo: privilege escalation for zenmap' - 'xterm: privilege escalation for zenmap' - 'kde-cli-tools: privilege escalation for zenmap') depends=('pcre' 'openssl' 'lua') +makedepends=('python2') +optdepends=('python2: various scripts') validpgpkeys=('436D66AB9A798425FDA0E3F801AF9F036B9355D0') source=("https://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2" "https://nmap.org/dist/sigs/${pkgname}-${pkgver}.tar.bz2.asc") @@ -29,6 +26,7 @@ build() { --libexecdir=/usr/lib \ --mandir=/usr/share/man \ --with-libpcap=included \ + --without-zenmap \ make } @@ -38,5 +36,4 @@ package() { make DESTDIR="${pkgdir}" install rm "${pkgdir}"/usr/bin/uninstall_* install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - python2 -m compileall "${pkgdir}"/usr/lib/python2.7/site-packages/zenmapCore }