1 # Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
2 # Contributor: Patrice Peterson <runiq at archlinux dot us>
5 pkgname=python-${_pkgname}
8 pkgdesc="A lexer and codec to work with LaTeX code in Python"
10 url="https://github.com/mcmtroffaes/latexcodec"
12 depends=('python-six')
13 makedepends=('python-setuptools')
14 checkdepends=('python-nose' 'python-pytest')
15 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mcmtroffaes/${_pkgname}/archive/${pkgver}.tar.gz")
16 sha256sums=('eda36ddfc969f86c9a8fdd50c12b484fa42dbfa33b84422144643b60081ca022')
19 cd "${srcdir}/${_pkgname}-${pkgver}"
24 cd "${srcdir}/${_pkgname}-${pkgver}"
29 cd "${srcdir}/${_pkgname}-${pkgver}"
30 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
31 install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"