# maintainer : AlmAck pkgname=libxml2 pkgver=2.9.3 pkgrel=1 pkgdesc="XML parsing library, version 2" arch=('x86_64') license=('custom') depends=('zlib' 'readline' 'ncurses' 'xz') makedepends=('python2') url="http://www.xmlsoft.org/" source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('daece17e045f1c107610e137ab50c179') build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr --with-threads --with-history \ --with-python=/usr/bin/python2 make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }