1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-pycrypto
7 pkgdesc="Various cryptographic modules for the Python programming language"
10 url="http://www.dlitz.net/software/pycrypto"
12 source=("http://ftp.dlitz.net/pub/dlitz/crypto/$_pkgname/$_pkgname-$pkgver.tar.gz")
13 md5sums=('c2a1404a848797fb0806f3e11c29ef15')
16 cd "$srcdir/$_pkgname-$pkgver"
17 python26 setup.py build
18 python26 setup.py install --root="$pkgdir" --optimize=1
20 install -Dm 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
21 cp -r LEGAL "$pkgdir/usr/share/licenses/$pkgname/"