updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / pyasn1 / PKGBUILD
blob4289e2b650950f3f8d6c17575670d36560d0fc41
1 # Contributor: TheGrudge <andi.clemens@gmx.net>
2 # Contributor: Jesse Young <jesse.young@gmail.com>
4 pkgname=pyasn1
5 arch=('any')
6 pkgver=0.0.12a
7 pkgrel=1
8 license=('custom:BSD')
9 pkgdesc="ASN.1 types and codecs (BER, CER, DER) implementation in Python programming language."
10 url="http://sourceforge.net/projects/pyasn1/"
11 depends=('python2' 'setuptools')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('ab73da1ea0acf4a510b3f67f2d5a2b6f')
15 build() {
16         cd "$srcdir/$pkgname-$pkgver"
17         python2 setup.py install --root="$pkgdir" || return 1
18     # install LICENSE
19     install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
20