updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-pysrt / PKGBUILD
bloba604fe1bdb722bf3b1a0fc4771559b11fcde124e
1 # Maintainer: Veli-Jussi Raitila <vjr@iki.fi>
3 pkgname=python-pysrt
4 _pkgname=pysrt
5 pkgver=0.4.0
6 pkgrel=1
7 pkgdesc="A Python library used to edit or create SubRip files"
8 arch=(any)
9 url="http://pypi.python.org/pypi/pysrt"
10 license=('GPL3')
11 depends=('python2' 'python2-chardet')
12 makedepends=('python2-distribute')
14 source=(http://pypi.python.org/packages/source/p/pysrt/${_pkgname}-${pkgver}.tar.gz)
15 md5sums=('abd0ee70485ccc63817b24df6fe7d618')
17 build() {
18   cd "${srcdir}/${_pkgname}-${pkgver}"
20   # Remove tests
21   rm -rf tests
22   
23   python2 setup.py install --root="${pkgdir}" --optimize=1