1 # Contributor: MatToufoutu <mattoufootu[at]gmail.com>
6 pkgdesc="Web Application Attack and Audit Framework"
7 url="http://w3af.sourceforge.net/"
10 depends=('python2' 'python-fpconst' 'python2-nltk' 'python-soappy' 'python-pypdf' 'beautiful-soup' 'python2-pyopenssl' 'scapy' 'pysvn-py2' 'python-lxml')
11 makedepends=('subversion')
13 'python-pysqlite: Needed to run the GTK User Interface'
14 'graphviz: Needed to run the GTK User Interface'
15 'pygtk: Needed to run the GTK User Interface'
16 'gtk2: Needed to run the GTK User Interface'
17 'pygtksourceview2: Needed to run the GTK User Interface'
22 source=('w3af_console.sh'
24 md5sums=('6799fbdf3ffe36c117d323225c77d630'
25 'e8dcfffd8f4d6e0242f2ec9170fd55e3')
27 _svntrunk=https://w3af.svn.sourceforge.net/svnroot/w3af/trunk
31 if [ -d $srcdir/.svn ]; then
32 msg2 'Getting latest SVN revision...'
33 svn up $srcdir || (msg 'SVN update failed'; return 1)
34 msg2 'SVN update successful'
36 msg2 'Checking out SVN...'
37 svn co $_svntrunk $srcdir || (msg 'SVN checkout failed'; return 1)
38 msg2 'SVN checkout successful'
43 mkdir -p ${pkgdir}/{usr/bin,/opt/w3af}
44 cp -r ${srcdir}/* ${pkgdir}/opt/w3af/
45 install -m755 ${srcdir}/w3af_console.sh ${pkgdir}/usr/bin/w3af_console
46 install -m755 ${srcdir}/w3af_gui.sh ${pkgdir}/usr/bin/w3af_gui
49 # vim: set ts=4 sw=4 ft=PKGBUILD :