updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / texml / PKGBUILD
blobb6620ba204517425ebf033968bfa185726c48057
1 # Maintainer: Florian Zeitz <florob at babelmonkeys dot de>
3 pkgname=texml
4 pkgver=2.0.2
5 pkgrel=1
6 pkgdesc="Convert TeXML to LaTeX or ConTeXt"
7 arch=('i686' 'x86_64')
8 url="http://getfo.org/texml/"
9 license=('MIT')
10 depends=('python2')
11 makedepends=('setuptools')
12 source=(http://prdownloads.sourceforge.net/getfo/$pkgname-$pkgver.tar.gz?download)
13 md5sums=('fe10f2084becece6b23fc92f29fb1ba6')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
18   sed -i -e "s/python texml.py/texml/" $pkgdir/usr/bin/texml.py
19   mkdir -p $pkgdir/usr/share/licenses/$pkgname
20   cp license.txt $pkgdir/usr/share/licenses/$pkgname/