# $Id: PKGBUILD 22385 2008-12-26 16:51:09Z jgc $ # Maintainer: Jan de Groot # Contributor: John Proctor pkgname=libxml2 pkgver=2.7.2 pkgrel=1 pkgdesc="XML parsing library, version 2" arch=(i686 x86_64) license=('custom') depends=('zlib>=1.2.3.3' 'readline>=5.2-8' 'ncurses>=5.6-7') makedepends=('python') options=('!libtool') url="http://www.xmlsoft.org/" source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz largefile64.patch) build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i ${srcdir}/largefile64.patch || return 1 ./configure --prefix=/usr --with-threads --with-history || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }