PKGBUILDs/community/confuse/PKGBUILD

24 lines
715 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $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
}