Want more features on Pastebin? Sign Up, it's FREE!
Guest

0.5.1_PKGBUILD

By: a guest on Nov 16th, 2013  |  syntax: None  |  size: 0.58 KB  |  views: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Veli-Jussi Raitila <vjr AT iki DOT fi>
  2.  
  3. pkgname=python2-pysrt
  4. _pkgname=pysrt
  5. pkgver=0.5.1
  6. pkgrel=1
  7. pkgdesc="Python parser for SubRip (srt) files"
  8. arch=('any')
  9. url="https://github.com/byroot/pysrt"
  10. license=('GPL3')
  11. depends=('python2-charade')
  12. makedepends=('python2-distribute')
  13.  
  14. source=(http://pypi.python.org/packages/source/p/pysrt/${_pkgname}-${pkgver}.tar.gz)
  15. md5sums=('c5d44c8abac6089cb8cd03ddee26faa5')
  16.  
  17. package() {
  18.   cd "${srcdir}/${_pkgname}-${pkgver}"
  19.  
  20.   # Remove tests
  21.   rm -rf tests
  22.  
  23.   python2 setup.py install --root="${pkgdir}" --optimize=1
  24. }
clone this paste RAW Paste Data