updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / python-bcrypt / PKGBUILD
blob9d64b0c21bcbba325df1af7102b6cdd24cf44cd9
1 #Mantainer: Igor Nemilentsev <trezorg@gmail.com>
2 pkgname=python-bcrypt
3 pkgver=0.2
4 pkgrel=1
5 pkgdesc="py-bcrypt is an implementation the OpenBSD Blowfish password hashing algorithm"
6 arch=('i686' 'x86_64')
7 url="http://www.mindrot.org/py-bcrypt.html"
8 license=('MIT')
9 depends=('python2')
10 makedepends=('setuptools')
11 source=("http://www.mindrot.org/files/py-bcrypt/py-bcrypt-${pkgver}.tar.gz")
12 md5sums=('231565f5e5d0389c6f3fe4bb6fc4d9f1')
13 build() {
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"