# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>

pkgname=augeas
pkgver=1.14.1
pkgrel=2
pkgdesc="A configuration editing tool that parses config files and transforms them into a tree"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="http://augeas.net"
license=('LGPL')
depends=('libxml2' 'gcc-libs')
validpgpkeys=('AED6E2A185EEB379F17476D2E012D07AD0E3CC30')
source=(https://github.com/hercules-team/augeas/releases/download/release-$pkgver/augeas-$pkgver.tar.gz)
sha512sums=('fddb2e243f979e71fc09f9d45d569d6307b35485b2d885bf7bcbc032ba5617fe7ab2071a041422c3efe2dd62eda74aba41016d248c0636e947d4f1c9144375aa')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

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