blob: 1fd68d03568fb1e7580e3b75f04a5c90f7e7b2a7 (
plain) (
tree)
|
|
# Contributor: Mira Ressel <aranea@aixah.de>
# Maintainer:
pkgname=confuse
pkgver=3.3
pkgrel=0
pkgdesc="Small configuration file parser library for C"
url="https://github.com/martinh/libconfuse"
arch="all"
license="ISC"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://github.com/martinh/libconfuse/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
#secfixes:
# 3.3-r0:
# - CVE-2018-19760
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-rpath \
--disable-examples \
--enable-nls
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="93cc62d98166199315f65a2f6f540a9c0d33592b69a2c6a57fd17f132aecc6ece39b9813b96c9a49ae2b66a99b7eba1188a9ce9e360e1c5fb4b973619e7088a0 confuse-3.3.tar.xz"
|