1 # Contributor: Jinx <Jinxware[at]gmail[dot]com>
6 pkgdesc="Exploits Database by Offensive Security"
8 url="http://www.exploit-db.com"
9 license=('custom: Various Licenses')
10 makedepends=('subversion')
11 conflicts=('exploit-db')
12 install="post.install"
14 _svntrunk="svn://www.exploit-db.com/exploitdb"
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting to build package..."
31 rm -rf `find "$srcdir/$_svnmod" -type d -name .svn`
32 install -d -m 755 "$pkgdir/usr/src"
33 mv "$srcdir/$_svnmod" "$pkgdir/usr/src"