updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / skipfish / PKGBUILD
blobee0d2d4982b12595b049ba4cd65ea4945ae17a65
1 # Maintainer: Alex Cartwright (alexc223@googlemail.com)
2 # Contributor: CRT <crt.011@gmail.com>
3 pkgname=skipfish
4 pkgver=2.03b
5 pkgrel=1
6 pkgdesc="A fully automated, active web application security reconnaissance tool"
7 arch=('any')
8 license=('APACHE')
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"
12         "skipfish.patch")
14 md5sums=('ff860b840ec7e579e9fac08e4fd8f4e2'
15          '8005ba69d76fec57ba53a2a1feaedac5')
17 build() {
18         cd "${srcdir}/${pkgname}-${pkgver}"
20         # Patch fixes application run directory system error
21         patch -Np0 -i ../skipfish.patch
22         make
23 }       
25 package() {
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