updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / httprint / PKGBUILD
blob0b36a492bb673cf9df022a7617cb2d29cd1af772
1 # Contributor: nofxx <x@nofxx.com>
2 pkgname=httprint
3 pkgver=301
4 pkgrel=1
5 pkgdesc="httprint is a web server fingerprinting tool."
6 arch=('i686' 'x86_64')
7 url="http://net-square.com/httprint"
8 license=('NON-GPL')
9 depends=(bash)
10 provides=(httprint)
11 conflicts=(httprint)
12 install=
13 source=(http://net-square.com/httprint/httprint_linux_$pkgver.zip)
14 md5sums=('af53704de9c1851bd439cbe3fab3e0ad')
16 build() {
17         cd $startdir/src/httprint_$pkgver/linux
18         install -Dm755 httprint $startdir/pkg/usr/share/$pkgname/httprint || return 1
19         install -Dm644 input.txt $startdir/pkg/usr/share/$pkgname/input.txt || return 1
20         install -Dm644 nmapportlist.txt $startdir/pkg/usr/share/$pkgname/nmapportlist.txt || return 1
21         install -Dm644 readme.txt $startdir/pkg/usr/share/$pkgname/readme.txt || return 1
22         install -Dm644 signatures.txt $startdir/pkg/usr/share/$pkgname/signatures.txt || return 1
23         for file in images/*; do
24                 install -Dm644 ${file} $startdir/pkg/usr/share/${pkgname}/${file} || return 1
25         done
26         mkdir $startdir/pkg/usr/bin
27         ln -sf /usr/share/$pkgname/httprint $startdir/pkg/usr/bin/$pkgname || return 1
28         }