aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kiwix-lib/APKBUILD
diff options
context:
space:
mode:
authorThomas Kienlen <kommander@laposte.net>2021-05-18 22:02:59 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-05-20 10:08:39 +0000
commit1fa7ad865c3cd2e4af8ae46bcc8d69dd5c0d813d (patch)
tree88ecb13b0d8ef9872fd54c78eeabc08d2c1bf0b2 /testing/kiwix-lib/APKBUILD
parent907a2ed67e0ff7dbdc20433a4bbb2531ad029a25 (diff)
downloadaports-1fa7ad865c3cd2e4af8ae46bcc8d69dd5c0d813d.tar.gz
aports-1fa7ad865c3cd2e4af8ae46bcc8d69dd5c0d813d.tar.bz2
aports-1fa7ad865c3cd2e4af8ae46bcc8d69dd5c0d813d.tar.xz
testing/kiwix-lib: new aport
Diffstat (limited to 'testing/kiwix-lib/APKBUILD')
-rw-r--r--testing/kiwix-lib/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/kiwix-lib/APKBUILD b/testing/kiwix-lib/APKBUILD
new file mode 100644
index 0000000000..873f5d9317
--- /dev/null
+++ b/testing/kiwix-lib/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Thomas Kienlen <kommander@laposte.net>
+# Maintainer: Thomas Kienlen <kommander@laposte.net>
+pkgname=kiwix-lib
+_pkgname=libkiwix
+pkgver=9.4.1
+pkgrel=0
+pkgdesc="Common code base for all Kiwix ports"
+url="https://github.com/kiwix/kiwix-lib"
+arch="all"
+license="GPL-3.0-or-later"
+depends="aria2"
+makedepends="
+ meson gtest-dev
+ libzim-dev pugixml-dev mustache xapian-core-dev libmicrohttpd-dev
+ python3 curl-dev
+ "
+source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/kiwix-lib/archive/$pkgver.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ meson . build --prefix /usr
+ ninja -C build
+}
+
+check() {
+ ninja -C build meson-test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="95aef7cc016341995c2d3415ac0553d745c8d9345d06df35c269acec7113ff5762cd863756a09d259b64d745b98d7dc8ff898edd805442da0279ee0e0b1b061b kiwix-lib-9.4.1.tar.gz"