1 # Maintainer: nblock <nblock [/at\] archlinux DOT us>
2 # Contributor: Thomas Conneely <tc116 at le dot ac dot uk>
4 pkgname=python-bitstring
7 pkgdesc='Python module designed to help make the creation, manipulation and analysis of binary data as simple and natural as possible'
9 url="http://code.google.com/p/python-bitstring/"
14 source=(http://python-bitstring.googlecode.com/files/bitstring-$pkgver.zip)
15 md5sums=('d331a15c494df5d23b8f8903ed7aa66d')
18 cd ${srcdir}/bitstring-${pkgver}
21 python -c "import bitstring; print(bitstring.__licence__)" >> ${srcdir}/LICENSE
23 python setup.py install --root=${pkgdir}/ --optimize=1
26 install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
29 # vim:set ts=2 sw=2 et: