1 # Contributor: fnord0 < fnord0 AT riseup DOT net >
6 pkgdesc="instrumented C code security fuzzer"
8 url="http://code.google.com/p/bunny-the-fuzzer/"
10 makedepends=('subversion')
12 _svntrunk="http://bunny-the-fuzzer.googlecode.com/svn/trunk/"
16 # fetch latest svn build
17 if [ -d ${srcdir}/.svn ]; then
18 msg 'Updating bunny SVN...'
19 svn up ${srcdir} || return 1
21 msg 'Checking out bunny SVN...'
22 svn co ${_svntrunk} ${srcdir} || return 1
24 msg "bunny SVN checkout complete, or the server timed out"
26 mkdir -p ${pkgdir}/usr/{bin,src} || return 1
28 svn export ${srcdir} ${_svnmod} || return 1
29 cd ${pkgdir}/usr/src/${_svnmod}
30 mv bunny/* . || return 1
31 rm -rf bunny || return 1