[arch-commits] Commit in (4 files)

Justin Kromlinger hashworks at archlinux.org
Sat Aug 29 14:49:34 UTC 2020


    Date: Saturday, August 29, 2020 @ 14:49:33
  Author: hashworks
Revision: 692216

Moved package from AUR, bump to version 9.4.0

Added:
  kiwix-lib/
  kiwix-lib/repos/
  kiwix-lib/trunk/
  kiwix-lib/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: kiwix-lib/trunk/PKGBUILD
===================================================================
--- kiwix-lib/trunk/PKGBUILD	                        (rev 0)
+++ kiwix-lib/trunk/PKGBUILD	2020-08-29 14:49:33 UTC (rev 692216)
@@ -0,0 +1,30 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=kiwix-lib
+pkgver=9.4.0
+pkgrel=1
+pkgdesc="Library providing the Kiwix software core"
+license=('GPL3')
+arch=('armv7h' 'i686' 'x86_64')
+depends=('libzim' 'pugixml' 'mustache' 'xapian-core' 'aria2' 'libmicrohttpd' 'python' 'curl')
+makedepends=('meson' 'gtest')
+url='https://github.com/kiwix/kiwix-lib'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('ccc883d06f111ebcb7f3530299798501b97400f319814871e17f73fa3e349766')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	# We want to ignore xapian ABI version mismatches
+	arch-meson build -Dwerror=false
+	ninja -C build
+}
+
+check() {
+	cd "${pkgname}-${pkgver}/build"
+	ninja meson-test
+}
+
+package() {
+	install -Dm644 "${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+	cd "${pkgname}-${pkgver}/build"
+	DESTDIR="${pkgdir}" ninja install
+}



More information about the arch-commits mailing list