# $Id: PKGBUILD 33758 2009-04-04 19:45:55Z jgc $ # Maintainer: damir pkgname=libxml++ pkgver=2.26.0 pkgrel=1 pkgdesc="C++ bindings to libxml2" arch=(i686 x86_64) license=('LGPL') url="http://libxmlplusplus.sourceforge.net/" depends=('libxml2>=2.7.3' 'glibmm>=2.20.0') makedepends=('pkgconfig') options=('!libtool' '!emptydirs') replaces=('libxml++2') provides=("libxml++2=${pkgver}") conflicts=('libxml++2') source=(http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.26/libxml++-${pkgver}.tar.bz2) md5sums=('a52fc7e6e44bb5cc187672930b843f72') build() { cd "${srcdir}/libxml++-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }