1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
7 pkgdesc="Python binding for the libxml2 and libxslt libraries"
9 license=('BSD' 'GPL' 'custom')
10 url="http://www.codespeak.net/lxml"
11 depends=('python26' 'libxslt')
12 optdepends=("beautiful-soup: support for parsing not well formed HTML")
13 source=("http://www.codespeak.net/lxml/lxml-$pkgver.tgz")
14 md5sums=('a245a015fd59b63e220005f263e1682a')
17 cd "$srcdir/lxml-$pkgver"
18 python26 setup.py install --root="$pkgdir" --optimize=1
19 for file in LICENSES.txt doc/licenses/BSD.txt doc/licenses/elementtree.txt; do
20 install -Dm 644 $file "$pkgdir/usr/share/licenses/$pkgname/${file/*\/}"