# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>

pkgname=confuse
pkgver=2.5
pkgrel=1
pkgdesc="C-library for parsing configuration files."
makedepends=('gcc' 'make')
arch=i686
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz)
url="http://www.nongnu.org/confuse/"
md5sums=('4bc9b73d77ebd571ac834619ce0b3582')

build() {
  cd $startdir/src/$pkgname-$pkgver
  
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg PREFIX=$startdir/pkg install
}