core/dotconf/PKGBUILD
2011-08-31 19:41:31 +00:00

25 lines
647 B
Bash

# Contributor: Chris Brannon <cmbrannon@cox.net>
pkgname=dotconf
pkgver=1.3
pkgrel=1
pkgdesc='A C library for parsing configuration files'
arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('pkgconfig' 'findutils')
options=('!libtool')
url="https://github.com/williamh/dotconf"
license=('LGPL2.1')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/williamh/${pkgname}/tarball/v${pkgver}")
md5sums=('36bfdde245072fc2f4f5766b7db97c45')
build() {
cd "${srcdir}"/williamh-${pkgname}-4cd7b3a
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/williamh-${pkgname}-4cd7b3a
make DESTDIR="${pkgdir}" install
}