Date: Sunday, January 23, 2022 @ 17:30:21
  Author: hashworks
Revision: 1113753

Renamed kiwix-lib to libkiwix

Added:
  libkiwix/
  libkiwix/repos/
  libkiwix/trunk/
  libkiwix/trunk/PKGBUILD

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

Added: libkiwix/trunk/PKGBUILD
===================================================================
--- libkiwix/trunk/PKGBUILD                             (rev 0)
+++ libkiwix/trunk/PKGBUILD     2022-01-23 17:30:21 UTC (rev 1113753)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+pkgname=libkiwix
+pkgver=10.0.0
+pkgrel=1
+pkgdesc="Library providing the Kiwix software core"
+license=('GPL3')
+arch=('x86_64')
+provides=('kiwix-lib')
+conflicts=('kiwix-lib')
+replaces=('kiwix-lib')
+depends=('libzim>=7.2.0' 'pugixml' 'mustache' 'xapian-core' 'aria2' 
'libmicrohttpd' 'python' 'curl')
+makedepends=('meson' 'gtest')
+url='https://github.com/kiwix/libkiwix'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('f5783104b94e95ef0b04f99f937fa6ea074ffbfc232af8d56dab97f331482241')
+
+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
+}

Reply via email to