[arch-commits] CVS update of extra/network/nmap (PKGBUILD)
Dan McGee
dan at archlinux.org
Wed Jan 2 18:48:10 UTC 2008
Date: Wednesday, January 2, 2008 @ 13:48:10
Author: dan
Path: /home/cvs-extra/extra/network/nmap
Modified: PKGBUILD (1.49 -> 1.50)
upgpkg: nmap 4.52-2
Fix prefix/DESTDIR change that nmap installer snuck in
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Index: extra/network/nmap/PKGBUILD
diff -u extra/network/nmap/PKGBUILD:1.49 extra/network/nmap/PKGBUILD:1.50
--- extra/network/nmap/PKGBUILD:1.49 Tue Jan 1 21:28:53 2008
+++ extra/network/nmap/PKGBUILD Wed Jan 2 13:48:10 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.49 2008/01/02 02:28:53 dan Exp $
+# $Id: PKGBUILD,v 1.50 2008/01/02 18:48:10 dan Exp $
# Maintainer: Dan McGee <dan at archlinux.org>
pkgname=nmap
pkgver=4.52
-pkgrel=1
+pkgrel=2
pkgdesc="A network exploration tool and security/port scanner"
arch=(i686 x86_64)
url="http://www.insecure.org"
@@ -17,8 +17,11 @@
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
- make prefix=$startdir/pkg/usr install
- rm -rf $startdir/pkg/usr/share/gnome
+ make DESTDIR="$startdir/pkg" install
+
+ # remove zenmap uninstall script
+ rm "$startdir/pkg/usr/bin/uninstall_zenmap"
+
# install custom GPL2 license
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list