updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / python3-lxml / PKGBUILD
blob7ed5ec419571b028f1997245ee604a03e710f243
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>
7 pkgname=python3-lxml
8 pkgver=2.3.3
9 pkgrel=1
10 pkgdesc="Pythonic binding for the libxml2 and libxslt libraries"
11 arch=('i686' 'x86_64')
12 license=('BSD' 'GPL' 'custom')
13 url="http://lxml.de/"
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')
19 package() {
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"