1 #Maintainer: Sebastien Duquette <ekse.0x@gmail.com>
5 pkgdesc="tool to verify the usefulness of credentials across a network over SMB"
6 url="http://code.google.com/p/keimpx/"
8 depends=('impacket' 'pycrypto')
10 arch=('i686' 'x86_64')
11 source=("http://keimpx.googlecode.com/files/keimpx-${pkgver}.zip"
12 "setup.py-remove_py2exe.patch"
14 md5sums=('f7451a4481e82f55d819437de9577f42'
15 'bc2032ee6b40d21c15e151b4a487775a')
18 cd $srcdir/$pkgname-$pkgver
19 patch setup.py < $srcdir/setup.py-remove_py2exe.patch
24 cd $srcdir/$pkgname-$pkgver
25 python2 setup.py install --prefix=$pkgdir/usr
26 sed 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/' -i keimpx.py
27 sed 's/keimpx_path =/keimpx_path = \"\/usr\/share\/keimpx\" #/' -i keimpx.py
28 install -D -m 755 keimpx.py $pkgdir/usr/bin/keimpx
30 mkdir -p $pkgdir/usr/share/keimpx
31 mv $pkgdir/usr/contrib $pkgdir/usr/share/keimpx