# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-lxml _pkgname=lxml pkgver=2.2.6 pkgrel=0 pkgdesc="Python LXML Library" url="http://codespeak.net/lxml" arch="x86 x86_64" license="GPL" depends="libxml2 libxslt" makedepends="libxml2-dev libxslt-dev py-setuptools" install= source="http://codespeak.net/lxml/$_pkgname-$pkgver.tgz" build() { cd "$srcdir"/$_pkgname-$pkgver mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages python setup.py install --root="$pkgdir" echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth } md5sums="b1f700fb22d7ee9b977ee3eceb65b20c lxml-2.2.6.tgz"