[arch-commits] Commit in (libzim libzim/repos libzim/trunk libzim/trunk/PKGBUILD)
Justin Kromlinger
hashworks at archlinux.org
Sat Aug 22 15:24:13 UTC 2020
Date: Saturday, August 22, 2020 @ 15:24:13
Author: hashworks
Revision: 686732
Moved package from AUR
Added:
libzim/
libzim/repos/
libzim/trunk/
libzim/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: libzim/trunk/PKGBUILD
===================================================================
--- libzim/trunk/PKGBUILD (rev 0)
+++ libzim/trunk/PKGBUILD 2020-08-22 15:24:13 UTC (rev 686732)
@@ -0,0 +1,29 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=libzim
+pkgver=6.1.8
+pkgrel=1
+pkgdesc="Reference implementation of the ZIM specification by the openZIM project"
+license=('GPL2')
+arch=('armv7h' 'i686' 'x86_64')
+depends=('xapian-core' 'zlib' 'xz' 'icu' 'zstd')
+makedepends=('meson' 'gtest' 'cython' 'python-pytest')
+url='https://github.com/openzim/libzim'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=(1be605b1d22a0a7c225e80eab2cb1a249bf0f1b500ec8ed42e1091fc96c49fb3)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ arch-meson build
+ ninja -C build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}/build"
+ SKIP_BIG_MEMORY_TEST=1 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