1 # Maintainer: Alex Cartwright (alexc223@googlemail.com)
2 # Contributor: CRT <crt.011@gmail.com>
6 pkgdesc="A fully automated, active web application security reconnaissance tool"
9 url='http://code.google.com/p/skipfish/'
10 depends=('openssl' 'libidn' 'zlib' 'glibc' 'sh')
11 source=("http://skipfish.googlecode.com/files/${pkgname}-${pkgver}.tgz"
14 md5sums=('ff860b840ec7e579e9fac08e4fd8f4e2'
15 '8005ba69d76fec57ba53a2a1feaedac5')
18 cd "${srcdir}/${pkgname}-${pkgver}"
20 # Patch fixes application run directory system error
21 patch -Np0 -i ../skipfish.patch
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 install -d -Dm 0755 "${pkgdir}"/usr/share/"${pkgname}"
28 install -d -Dm 0755 "${pkgdir}"/usr/share/licenses/"${pkgname}"
29 install -d -Dm 0755 "${pkgdir}"/usr/share/"${pkgname}"/dictionaries
30 install -Dm 0644 dictionaries/* "${pkgdir}"/usr/share/"${pkgname}"/dictionaries
31 install -d -Dm 0755 assets "${pkgdir}"/usr/share/"${pkgname}"/assets
32 install -Dm 0644 assets/* "${pkgdir}"/usr/share/"${pkgname}"/assets
33 install -Dm 0755 skipfish "${pkgdir}"/usr/bin/skipfish
34 install -m644 COPYING "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING