summaryrefslogtreecommitdiffstats
path: root/nikto/PKGBUILD
blob: 6b4c282b3da05cd1d1f30764eedd869106eebce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Arkham <arkham at archlinux dot us>
# Contributor: Arkham <arkham at archlinux dot us>

pkgname=nikto
pkgver=2.1.1
pkgrel=1
pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items'
url='http://www.cirt.net/code/nikto.shtml'
license=('GPL')
arch=('any')
depends=('perl' 'openssl' 'perl-net-ssleay')
install=$pkgname.install
source=(http://www.cirt.net/nikto/$pkgname-$pkgver.tar.gz
        nikto.sh)
md5sums=('a9404c3f464b08f3f48788d5f39e0ca7'
         'eb7b704c8bdae28af9a0353764d0b552')

build() {
    cd $srcdir/$pkgname-$pkgver

    install -d $pkgdir/usr/share/nikto
    cp -a * $pkgdir/usr/share/nikto/
    find $pkgdir/usr/share/nikto -type f -exec chmod 644 {} +
    install -Dm 755 $srcdir/nikto.sh $pkgdir/usr/bin/nikto
}