updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / webscarab / PKGBUILD
bloba59c983160b067718a33f23eb5e844cef57c2a38
1 # Maintainer: nblock <nblock [/at\] archlinux DOT us>
2 # Contributor: Robson Peixoto <robsonpeixoto@gmail.com>
4 pkgname=webscarab
5 pkgver=20110329.1330
6 pkgrel=1
7 pkgdesc="Framework for analysing applications that communicate using the HTTP and HTTPS protocols"
8 arch=('any')
9 url="http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project"
10 license=('GPL2')
11 depends=('java-runtime')
12 noextract=(${pkgname}-one-${pkgver/./-}.jar)
13 source=(http://dawes.za.net/rogan/${pkgname}/${pkgname}-one-${pkgver/./-}.jar)
14 md5sums=('7126df94745a736b51886666d3476450')
16 build() {
17   mkdir -p "${pkgdir}/usr/share/${pkgname}"
18   mkdir -p "${pkgdir}/usr/bin"
19   install -m755 $srcdir/${pkgname}-one-${pkgver/./-}.jar "${pkgdir}/usr/share/${pkgname}/${pkgname}.jar"
21         #create startup
22         echo "#!/bin/sh" > ${pkgdir}/usr/bin/${pkgname}
23         echo "exec \$JAVA_HOME/bin/java -jar /usr/share/webscarab/webscarab.jar \$*" >> ${pkgdir}/usr/bin/${pkgname}
24         chmod +x ${pkgdir}/usr/bin/${pkgname}
27 # vim:set ts=2 sw=2 noet: