# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Roman Kyrylych # Contributor: Roman Kyrylych pkgname=iniparser pkgver=3.0b pkgrel=2 pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C" arch=('i686' 'x86_64') url="http://ndevilla.free.fr/iniparser/" license=('MIT') depends=('glibc') source=(http://ndevilla.free.fr/iniparser/$pkgname$pkgver.tar.gz) md5sums=('89b7d97b9fb24ce4c31743cc4d13ce44') build() { cd $startdir/src/$pkgname$pkgver make || return 1 install -Dm644 src/iniparser.h $startdir/pkg/usr/include/iniparser.h install -Dm644 src/dictionary.h $startdir/pkg/usr/include/dictionary.h install -Dm644 libiniparser.a $startdir/pkg/usr/lib/libiniparser.a install -Dm644 LICENSE $startdir/pkg/usr/share/licenses/iniparser/LICENSE }