[arch-commits] Commit in nmap/trunk (PKGBUILD)

Angel Velásquez angvp at archlinux.org
Sat Jan 29 18:53:29 EST 2011


    Date: Saturday, January 29, 2011 @ 18:53:29
  Author: angvp
Revision: 108130

upgpkg: nmap 5.50-1
Version bump to 5.50

Modified:
  nmap/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-29 19:53:57 UTC (rev 108129)
+++ PKGBUILD	2011-01-29 23:53:29 UTC (rev 108130)
@@ -1,29 +1,35 @@
 # $Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
 
 pkgname=nmap
-pkgver=5.21
-pkgrel=3
+pkgver=5.50
+pkgrel=1
 pkgdesc="A network exploration tool and security/port scanner"
 arch=('i686' 'x86_64')
 url="http://nmap.org"
-license=('custom:GPL')
-depends=('pcre' 'openssl' 'libpcap>=1.0.0' 'lua')
+license=('GPL')
+depends=('pcre' 'openssl' 'libpcap' 'lua')
 # python is needed for zenmap
 makedepends=('python2')
 optdepends=('pygtk: gui for nmap')
 options=('!makeflags')
 source=(http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('a4df96e52cb52a1bbe76caace5f21388')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap.desktop || return 1
-  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap-root.desktop || return 1
+  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap.desktop 
+  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap-root.desktop 
 
   ./configure --prefix=/usr --mandir=/usr/share/man \
     --libexecdir=/usr/lib
-  make || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 
   # remove zenmap uninstall script
@@ -32,4 +38,3 @@
   # install custom GPL2 license
   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
-md5sums=('f77fa51d89ab27d35e5cd87bb086b858')



More information about the arch-commits mailing list