core/augeas/PKGBUILD

27 lines
622 B
Bash
Raw Normal View History

2012-05-26 07:03:37 +08:00
pkgname=augeas
2015-04-27 23:55:56 +08:00
pkgver=1.3.0
2012-05-26 07:03:37 +08:00
pkgrel=1
pkgdesc="A configuration editing tool that parses config files and transforms them into a tree"
arch=('i686' 'x86_64')
url="http://augeas.net"
license=('LGPL')
depends=('libxml2' 'gcc-libs')
options=('!libtool')
2015-04-27 23:55:56 +08:00
source=("http://download.augeas.net/$pkgname-$pkgver.tar.gz")
md5sums=('c8890b11a04795ecfe5526eeae946b2d')
2012-05-26 07:03:37 +08:00
2015-04-27 23:55:56 +08:00
prepare() {
2012-05-26 07:03:37 +08:00
cd "$srcdir/$pkgname-$pkgver"
sed -i 's|Requires:.*|Requires: libxml-2.0|' augeas.pc.in
2015-04-27 23:55:56 +08:00
}
build() {
cd "$srcdir/$pkgname-$pkgver"
2012-05-26 07:03:37 +08:00
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}