summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e7b37456b9c4cebdb8e7a9b8b5ebd631cf2a29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: brent s. <bts[at]square-r00t[dot]net>
# Past maintainer: onny <onny@project-insanity.org>
# Contributor: onny <onny@project-insanity.org>

pkgname=chapcrack-git
pkgver=ae2827f
pkgrel=3
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}
}