1 #Mantainer: Igor Nemilentsev <trezorg@gmail.com>
5 pkgdesc="py-bcrypt is an implementation the OpenBSD Blowfish password hashing algorithm"
7 url="http://www.mindrot.org/py-bcrypt.html"
10 makedepends=('setuptools')
11 source=("http://www.mindrot.org/files/py-bcrypt/py-bcrypt-${pkgver}.tar.gz")
12 md5sums=('231565f5e5d0389c6f3fe4bb6fc4d9f1')
14 cd ${srcdir}/py-bcrypt-${pkgver}
15 python2 setup.py install --prefix=/usr --root=${pkgdir}
16 install -d ${pkgdir}/usr/share/licenses/$pkgname
17 install -m 644 "$srcdir/py-bcrypt-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"