core/augeas/PKGBUILD
2017-02-02 00:02:39 +00:00

26 lines
594 B
Bash

pkgname=augeas
pkgver=1.3.0
pkgrel=2
pkgdesc="A configuration editing tool that parses config files and transforms them into a tree"
arch=('x86_64')
url="http://augeas.net"
license=('LGPL')
depends=('libxml2' 'gcc-libs')
source=("http://download.augeas.net/$pkgname-$pkgver.tar.gz")
md5sums=('c8890b11a04795ecfe5526eeae946b2d')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's|Requires:.*|Requires: libxml-2.0|' augeas.pc.in
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}