SHARE
TWEET

Untitled

a guest Apr 6th, 2011 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: nblock <nblock [/at\] archlinux DOT us>
  2. # Contributor: Thomas Conneely <tc116 at le dot ac dot uk>
  3.  
  4. pkgname=python-bitstring
  5. pkgver=2.1.1
  6. pkgrel=1
  7. pkgdesc='Python module designed to help make the creation, manipulation and analysis of binary data as simple and natural as possible'
  8. arch=('any')
  9. url="http://code.google.com/p/python-bitstring/"
  10. license=('MIT')
  11. depends=('python')
  12. makedepends=('unzip')
  13. options=(!emptydirs)
  14. source=(http://python-bitstring.googlecode.com/files/bitstring-$pkgver.zip)
  15. md5sums=('00257aea3e5bcb8a87dd870f692c2460')
  16.  
  17. build() {
  18.   cd ${srcdir}/bitstring-${pkgver}
  19.  
  20.   #As not licence file, pull the licence from the bitstring.py file
  21.   python -c "import bitstring; print(bitstring.__licence__)" >> ${srcdir}/LICENSE
  22.  
  23.   python setup.py install --root=${pkgdir}/ --optimize=1
  24.  
  25.   # Remember to install licenses if the license is not a common license!
  26.   install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
  27. }
  28.  
  29. # vim:set ts=2 sw=2 et:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top