# $Id: PKGBUILD 17398 2008-10-29 03:26:25Z eric $ # Maintainer: Jan de Groot pkgname=pyxml pkgver=0.8.4 pkgrel=6 pkgdesc="Python XML parsing library." arch=(i686 x86_64) url="http://pyxml.sourceforge.net/" license=('custom') depends=('python') source=(http://downloads.sourceforge.net/sourceforge/pyxml/PyXML-${pkgver}.tar.gz fix-python26.patch) md5sums=('1f7655050cebbb664db976405fdba209' '4b652e0c866e3cca7e2386e8e383d5ba') build() { cd ${startdir}/src/PyXML-${pkgver} patch -p1 < ${startdir}/src/fix-python26.patch || return 1 python setup.py build python setup.py install --prefix=/usr --root=${startdir}/pkg install -D -m644 LICENCE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE }