mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
705 B
Bash
22 lines
705 B
Bash
|
# 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
|
||
|
}
|