updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / python26-pycrypto / PKGBUILD
blob261f6ea9e2d4b1ad93fb617897cc27a8c945c80a
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-pycrypto
4 _pkgname=pycrypto
5 pkgver=2.4.1
6 pkgrel=1
7 pkgdesc="Various cryptographic modules for the Python programming language"
8 arch=('i686' 'x86_64')
9 depends=('python26')
10 url="http://www.dlitz.net/software/pycrypto"
11 license=('custom')
12 source=("http://ftp.dlitz.net/pub/dlitz/crypto/$_pkgname/$_pkgname-$pkgver.tar.gz")
13 md5sums=('c2a1404a848797fb0806f3e11c29ef15')
15 build() {
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/"