1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: grimsock <lord.grimsock at gmail dot com>
3 # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
4 # Contributor: Arkham <arkham at archlinux dot us>
5 # Contributor: LeCrayonVert < greenarrow at archlinux dot us>
10 pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items'
11 url='https://github.com/sullo/nikto'
14 depends=('sh' 'openssl' 'perl-net-ssleay' 'perl-json')
15 backup=('etc/nikto.conf')
16 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sullo/${pkgname}/archive/${pkgver}.tar.gz
18 sha512sums=('13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69'
19 '75b9be1f1cacbca09a5e72f8125aadc24938a3ac36b2337bf68916231af52e2af846a0dedb36782f45716d2c6d590a3606cb5879339528e7a744f1d2d880120d')
22 cd ${pkgname}-${pkgver}
23 find . -type f ! -name nikto.pl -exec chmod 644 {} +
27 cd ${pkgname}-${pkgver}
29 install -d "${pkgdir}/usr/share/nikto"
30 cp -a program/* "${pkgdir}/usr/share/nikto"
32 install -Dm 755 "${srcdir}/nikto.sh" "${pkgdir}/usr/bin/nikto"
33 install -Dm 644 program/nikto.conf "${pkgdir}/etc/nikto.conf"
34 install -Dm 644 documentation/nikto.1 "${pkgdir}/usr/share/man/man1/nikto.1"
35 install -Dm 644 program/docs/nikto_manual.html "${pkgdir}/usr/share/doc/${pkgname}/manual.html"
36 install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"