1 # contributor: nofxx <x@nofxx.com>
2 # modifier: x-demon <x-demon{at}x-demon.org
3 pkgname=aircrack-ng-unstable-svn
6 pkgdesc="Wifi security suite - WEP / WPA crack tools -- with SQLite3 and unstable (read experimental) tools"
8 url="http://www.aircrack-ng.org"
10 depends=('openssl' 'sqlite3' 'wireless_tools' 'autoconf' 'libtool')
11 makedepends=('subversion')
12 provides=('aircrack-ng' 'aircrack-ng-svn')
13 #replaces=('aircrack-ng-svn')
14 conflicts=('aircrack-ng')
18 _svntrunk="http://trac.aircrack-ng.org/svn/trunk"
23 msg "Connecting to SVN server...."
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
32 svn export $_svnmod $_svnmod-build
37 make SQLITE=true UNSTABLE=true || return 1
38 make prefix=/usr SQLITE=true UNSTABLE=true DESTDIR=$startdir/pkg/ install