PKGBUILDs/community/libconfig/PKGBUILD

26 lines
717 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: scippio <scippio@seznam.cz>
pkgname=libconfig
pkgver=1.3.2
pkgrel=4
pkgdesc="C/C++ Configuration File Library"
arch=('i686' 'x86_64')
url="http://hyperrealm.com/libconfig/libconfig.html"
license=('LGPL')
depends=('gcc-libs' 'texinfo')
install=libconfig.install
source=(http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz)
md5sums=('094a82afd382aa2305c6cc3c06025c2d')
options=('!libtool' '!emptydirs')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
}