summaryrefslogtreecommitdiff
path: root/community/augeas/PKGBUILD
blob: 8b53ffec116a97c8efb80fa1ac2b02d8be0f6cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 105015 2014-01-30 08:53:11Z spupykin $
# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>

pkgname=augeas
pkgver=1.2.0
pkgrel=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')
source=(http://download.augeas.net/augeas-$pkgver.tar.gz{,.sig})
md5sums=('dce2f52cbd20f72c7da48e014ad48076'
         'SKIP')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i 's|Requires:.*|Requires: libxml-2.0|' augeas.pc.in
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}