core/confuse/PKGBUILD

24 lines
653 B
Bash
Raw Normal View History

2016-03-29 03:50:53 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/confuse
pkgname=confuse
2016-03-29 03:50:53 +08:00
pkgver=2.8
pkgrel=1
pkgdesc="C-library for parsing configuration files"
2016-03-29 03:50:53 +08:00
arch=('x86_64')
url="http://www.nongnu.org/confuse"
license=('LGPL')
depends=('glibc')
2016-03-29 03:50:53 +08:00
source=("https://github.com/martinh/libconfuse/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
options=('!emptydirs')
md5sums=('e94ade0372a43e80b35031046bbc2a33')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-shared
2016-03-29 03:50:53 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2016-03-29 03:50:53 +08:00
}