updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / nikto / PKGBUILD
blob83957a83092a478221e46bddca48e6ff758a1705
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
3 # Contributor: LeCrayonVert < greenarrow at archlinux dot us>
5 pkgname=nikto
6 pkgver=2.1.4
7 pkgrel=1
8 pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items'
9 url='http://www.cirt.net/code/nikto.shtml'
10 license=('GPL')
11 arch=('any')
12 depends=('perl' 'openssl' 'perl-net-ssleay')
13 install=$pkgname.install
14 source=(http://www.cirt.net/nikto/$pkgname-$pkgver.tar.gz
15         nikto.sh)
17 md5sums=('8b9df0b08bbbcdf25b5ddec9e30b2633'
18          'eb7b704c8bdae28af9a0353764d0b552')
19 sha512sums=('636e71d376ebe45fa490f8a01b6c8c6d8ed0e964a09efe9a4688ed46a5acd8de69c5a075e5e2529f6ad8b349a67759650bda8ede97fb6788d44efbdae1b83fb2'
20             'c4afc6ec5fa4a604e9676790fe74620162589d46eb5bc3b6d0fdd785e12f37385f4b74fd7434fb5f9f4bae05ee5c88d5d6e03f393f3c81154faf9744294bd85a')
21 build() {
22     cd $srcdir/$pkgname-$pkgver
24     install -d $pkgdir/usr/share/nikto
25     cp -a * $pkgdir/usr/share/nikto/
26     find $pkgdir/usr/share/nikto -type f -exec chmod 644 {} +
27     install -Dm 755 $srcdir/nikto.sh $pkgdir/usr/bin/nikto