1 # Original Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Original Maintainer: Tocer Deng <tocer.deng>
3 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
4 # Contributor: William Rea <sillywilly@gmail.com>
5 # Contributor: Guillem Rieu <guillemr@gmx.net>
10 pkgdesc="Pythonic binding for the libxml2 and libxslt libraries"
11 arch=('i686' 'x86_64')
12 license=('BSD' 'GPL' 'custom')
14 depends=('python3' 'libxml2' 'libxslt')
15 #source=(http://lxml.de/files/lxml-$pkgver.tgz)
16 source=(http://pypi.python.org/packages/source/l/lxml/lxml-$pkgver.tar.gz)
17 md5sums=('a7825793c69d004f388ec6600bad7a6f')
20 cd "${srcdir}/lxml-$pkgver"
22 python setup.py install --root="${pkgdir}" --optimize=1
24 install -D -m644 "LICENSES.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSES.txt"
25 install -D -m644 "doc/licenses/BSD.txt" "${pkgdir}/usr/share/licenses/$pkgname/BSD.txt"
26 install -D -m644 "doc/licenses/elementtree.txt" "${pkgdir}/usr/share/licenses/$pkgname/elementtree.txt"