updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / libcfgparser / PKGBUILD
blob496d33ee1d7ee4b2c023540e74fac41f7d91e0b3
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=libcfgparser
4 pkgver=1.1.2
5 pkgrel=1
6 pkgdesc="Configuration reader C++ library"
7 arch=('i686' 'x86_64')
8 url="http://cfgparser.sourceforge.net/"
9 license=('GPL3')
10 depends=('gcc-libs')
11 makedepends=('automake' 'autoconf' 'libtool' 'libdbglog' 'patch')
12 options=('!libtool' '!makeflags')
13 source=(http://downloads.sourceforge.net/cfgparser/$pkgname-$pkgver.tar.bz2 \
14         cfgparser-$pkgver.patch)
15 md5sums=('0633266e04c9889655c728b2f165d0f9'
16          'e81010a8571b0b9d00c6c69219472cf0')
18 build() {
19   cd ${srcdir}/cfgparser-$pkgver
21   patch -Np1 -i ${srcdir}/cfgparser-$pkgver.patch
23   ./configure --prefix=/usr
24   make
27 package() {
28   cd ${srcdir}/cfgparser-$pkgver
30   make DESTDIR=${pkgdir} install