[arch-commits] Commit in kiwix-lib/repos (community-x86_64 community-x86_64/PKGBUILD)
Justin Kromlinger
hashworks at archlinux.org
Sat Aug 29 14:50:09 UTC 2020
Date: Saturday, August 29, 2020 @ 14:50:08
Author: hashworks
Revision: 692217
archrelease: copy trunk to community-x86_64
Added:
kiwix-lib/repos/community-x86_64/
kiwix-lib/repos/community-x86_64/PKGBUILD
(from rev 692216, kiwix-lib/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: kiwix-lib/repos/community-x86_64/PKGBUILD (from rev 692216, kiwix-lib/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-08-29 14:50:08 UTC (rev 692217)
@@ -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