updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / thcrut / PKGBUILD
blob9d95e2baf83569d8d1e69c5b9e79d0f57d6414b5
1 # Contributor: Camille Moncelier <pix@devlife.org>
2 # Update: henning mueller <henning@orgizm.net>
4 pkgname=thcrut
5 pkgver=1.2.5
6 pkgrel=3
7 pkgdesc="Network discovery and OS Fingerprinting tool"
8 url="http://thc.org/thc-rut/"
9 source=(http://freeworld.thc.org/releases/$pkgname-$pkgver.tar.gz)
10 md5sums=(dd942ad5db7701725038721981077585)
11 depends=(pcre libpcap)
12 arch=(i686 x86_64)
13 license=(custom)
15 build() {
16         wget http://freeworld.thc.org/thc-rut/thcrut-os-fingerprints
17         wget http://www.insecure.org/nmap/data/nmap-os-fingerprints
19         cd $srcdir/$pkgname-$pkgver
21         ./configure --prefix=/usr
22         make || return 1
23         make DESTDIR=$pkgdir install
25         install -m644 $srcdir/thcrut-os-fingerprints $pkgdir/usr/share/thcrut/thcrut-os-fingerprints
26         install -m644 $srcdir/nmap-os-fingerprints $pkgdir/usr/share/thcrut/nmap-os-fingerprints        
28         mkdir -p $pkgdir/usr/share/licenses/thcrut
29         install -m644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/thcrut