Date: Friday, October 21, 2022 @ 18:43:48
  Author: felixonmars
Revision: 1333215

archrelease: copy trunk to community-staging-x86_64

Added:
  libkiwix/repos/community-staging-x86_64/
  libkiwix/repos/community-staging-x86_64/PKGBUILD
    (from rev 1333214, libkiwix/trunk/PKGBUILD)

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

Copied: libkiwix/repos/community-staging-x86_64/PKGBUILD (from rev 1333214, 
libkiwix/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-10-21 18:43:48 UTC (rev 1333215)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+pkgname=libkiwix
+pkgver=11.0.0
+pkgrel=3
+pkgdesc="Library providing the Kiwix software core"
+license=('GPL3')
+arch=('x86_64')
+provides=('kiwix-lib')
+conflicts=('kiwix-lib')
+replaces=('kiwix-lib')
+depends=('libzim>=8.0.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=('ec17342874e0444cc6585ab3f55447e139357128defb3f391b78bd3b24915123')
+
+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"
+       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