1 # contributor: Hoàng Đức Hiếu <hdh@lazny.tang.la>
2 # Contributor: Gilfran Ribeiro <contato [at] gilfran [dot] net>
3 # Contributor: William Díaz <wdiaz [at] archlinux [dot] us>
4 # Maintainer: Gustavo Alvarez <sl1pkn07 [at] gmail [dot] com>
9 pkgdesc="GPU-accelerated attack against WPA-PSK authentication, development version"
10 url="http://code.google.com/p/pyrit/"
12 arch=('i686' 'x86_64')
13 depends=('python2' 'libpcap')
14 optdepends=('cpyrit-calpp-svn: CAL++ backend'
15 'cpyrit-cuda-svn: CUDA backend'
16 'cpyrit-opencl-svn: OpenCL backend')
18 _svntrunk=http://pyrit.googlecode.com/svn/trunk/pyrit
24 msg "Connecting to SVN server...."
26 if [ -d "${srcdir}"/"${_svnmod}" ] ; then
27 cd "${_svnmod}" && svn update
29 svn co "${_svntrunk}" "${_svnmod}"
32 [ -d "${srcdir}"/"${_svnmod}"-build ] && rm -fr "${srcdir}"/"${_svnmod}"-build
33 cp -R "${srcdir}"/"${_svnmod}" "${srcdir}"/"${_svnmod}"-build
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
38 cd "${srcdir}"/"${_svnmod}"-build
40 python2 setup.py build
44 cd "${srcdir}"/"${_svnmod}"-build
45 python2 setup.py install --root="${pkgdir}" --optimize=1