# Maintainer: brent s. # Past maintainer: onny # Contributor: onny pkgname=chapcrack-git pkgver=ae2827f pkgrel=4 pkgdesc="A tool for parsing and decrypting MS-CHAPv2 network handshakes." arch=('i686' 'x86_64') url="https://github.com/moxie0/chapcrack" license=("GPL3") depends=('python2' 'python2-dpkt' 'python2-m2crypto' 'python2-passlib') source=('git+https://github.com/moxie0/chapcrack.git') md5sums=('SKIP') pkgver() { cd "${SRCDEST}/chapcrack" git describe --always | sed 's|-|.|g' } build() { cd "${srcdir}/chapcrack" python2 setup.py build } package () { cd "${srcdir}/chapcrack" python2 setup.py install --root=${pkgdir} }