Date: Monday, November 22, 2021 @ 00:59:39
  Author: felixonmars
Revision: 1054145

archrelease: copy trunk to community-staging-x86_64

Added:
  kiwix-lib/repos/community-staging-x86_64/
  kiwix-lib/repos/community-staging-x86_64/PKGBUILD
    (from rev 1054144, kiwix-lib/trunk/PKGBUILD)

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

Copied: kiwix-lib/repos/community-staging-x86_64/PKGBUILD (from rev 1054144, 
kiwix-lib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-22 00:59:39 UTC (rev 1054145)
@@ -0,0 +1,30 @@
+# Maintainer: Justin Kromlinger <hashwo...@archlinux.org>
+pkgname=kiwix-lib
+pkgver=9.4.1
+pkgrel=6
+pkgdesc="Library providing the Kiwix software core"
+license=('GPL3')
+arch=('x86_64')
+depends=('libzim6' 'pugixml' 'mustache' 'xapian-core' 'aria2' 'libmicrohttpd' 
'python' 'curl')
+makedepends=('meson' 'gtest')
+url='https://github.com/kiwix/kiwix-lib'
+source=("libkiwix-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('58c5fe6742f7f14cdda6bcdca29b8960891a4e9094ec10a48e1aa9b0a8f03ee5')
+
+build() {
+       cd "libkiwix-${pkgver}"
+       # We want to ignore xapian ABI version mismatches
+       arch-meson build -Dwerror=false
+       ninja -C build
+}
+
+check() {
+       cd "libkiwix-${pkgver}/build"
+       ninja meson-test
+}
+
+package() {
+       install -Dm644 "libkiwix-${pkgver}/COPYING" 
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+       cd "libkiwix-${pkgver}/build"
+       DESTDIR="${pkgdir}" ninja install
+}

Reply via email to