summaryrefslogtreecommitdiff
path: root/user/confuse/APKBUILD
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-01-27 08:23:22 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-04 19:01:55 +0100
commita993427bebef75d184f5fbe04d29093db76e0f38 (patch)
tree8cbf1f773159d587df9be2d30b5ebb22cebf312c /user/confuse/APKBUILD
parentee482f601f46581e1b3be881e06e0f7495c67acf (diff)
downloadpackages-a993427bebef75d184f5fbe04d29093db76e0f38.tar.gz
packages-a993427bebef75d184f5fbe04d29093db76e0f38.tar.bz2
packages-a993427bebef75d184f5fbe04d29093db76e0f38.tar.xz
packages-a993427bebef75d184f5fbe04d29093db76e0f38.zip
user/confuse: New package
Diffstat (limited to 'user/confuse/APKBUILD')
-rw-r--r--user/confuse/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/confuse/APKBUILD b/user/confuse/APKBUILD
new file mode 100644
index 000000000..3fe8f33b4
--- /dev/null
+++ b/user/confuse/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=confuse
+pkgver=3.2.2
+pkgrel=0
+pkgdesc="Small configuration file parser library for C"
+url="https://github.com/martinh/libconfuse"
+arch="all"
+options="!checkroot"
+license="ISC"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-rpath \
+ --disable-examples \
+ --enable-nls
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c6baea65e064fe7f2d1bde187c6dcbb7f03c31f5d777cb04576f9cc2d94e9c96b7ee202e030e9a2c7eb619deb240d9e76fb12b3528ae5aa0d3abe231354d12c9 confuse-3.2.2.tar.xz"