# Maintainer: Douglas Soares de Andrade # Contributor: William Rea pkgname=python-pyx pkgver=0.10 pkgrel=3 pkgdesc="Python library for the creation of PostScript and PDF files" arch=('i686' 'x86_64') url="http://pyx.sourceforge.net" license=('GPL') depends=('python' 'texlive-core') source=(http://downloads.sourceforge.net/sourceforge/pyx/PyX-$pkgver.tar.gz) md5sums=('20a8697a4b37c3ead10348ad5a49ba1a') build() { cd $startdir/src/PyX-$pkgver python setup.py install --root=$startdir/pkg sed -i "s+$pkgdir++" \ $pkgdir/usr/lib/python2.6/site-packages/pyx/siteconfig.py rm $pkgdir/usr/lib/python2.6/site-packages/pyx/siteconfig.pyc }