[arch-commits] Commit in libkiwix/repos (community-x86_64 community-x86_64/PKGBUILD)

Justin Kromlinger hashworks at gemini.archlinux.org
Sun Jan 23 17:30:30 UTC 2022


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

archrelease: copy trunk to community-x86_64

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

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

Copied: libkiwix/repos/community-x86_64/PKGBUILD (from rev 1113753, libkiwix/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-01-23 17:30:30 UTC (rev 1113754)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+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
+}



More information about the arch-commits mailing list