PKGBUILDs/community/confuse/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
715 B
Bash
Executable file

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
pkgname=confuse
pkgver=2.6
pkgrel=1
pkgdesc="C-library for parsing configuration files"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/confuse"
license=('LGPL')
depends=('glibc')
source=(http://bzero.se/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('0e883d66f0f58fc33585b430c652aa30')
options=('!libtool' '!emptydirs')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 libconfuse.pc $startdir/pkg/usr/lib/pkgconfig/libconfuse.pc
}