1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
5 pkgname=python-asn1crypto
10 pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"
11 url="https://github.com/wbond/asn1crypto"
13 makedepends=('python-setuptools')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz")
15 sha512sums=('1bcb93d82a2602e3b5c66a180f5d16cd3a9731d86d89fbd44c1e23d735e708e9bf9bb6cbabc2a5d60619f51a7c38dfb1f7ed63820f422ccf42800a39f4637626')
18 cd "$srcdir"/asn1crypto-$pkgver
23 cd "$srcdir"/asn1crypto-$pkgver
29 python setup.py install --root="$pkgdir" --optimize=1
30 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-asn1crypto/LICENSE