# $Id: PKGBUILD 1153 2008-05-01 14:49:04Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=libxml2 pkgver=2.6.32 pkgrel=1 pkgdesc="XML parsing library, version 2" arch=(i686 x86_64) license=('custom') depends=('zlib' 'readline') makedepends=('python>=2.5') options=('!libtool') source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz) url="http://www.xmlsoft.org/" md5sums=('2621d322c16f0257e30f0ff2b13384de') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr --with-threads --with-history || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }