PKGBUILDs/community/python-pyx/PKGBUILD

22 lines
705 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
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
}