# $Id: PKGBUILD 62121 2012-01-16 09:07:06Z spupykin $ # Contributor: Thomas S Hatch # Contributor: Jon Nordby pkgname=augeas pkgver=0.10.0 pkgrel=2.1 pkgdesc="A configuration editing tool that parses config files and transforms them into a tree" arch=('i686' 'x86_64' 'mips64el') url="http://augeas.net" license=('LGPL') depends=('libxml2' 'gcc-libs') options=('!libtool') source=(http://augeas.net/download/$pkgname-$pkgver.tar.gz{,.sig} augeas-0.10.0-gets.patch) md5sums=('fe1834e90a066c3208ac0214622c7352' 'efb3f1a90ff31320dcc4c499eba5a555' '1dd66088ad8814f16cab9b6858df5af6') build() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 -i ${srcdir}/augeas-0.10.0-gets.patch sed -i 's|Requires:.*|Requires: libxml-2.0|' augeas.pc.in ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }