[arch-commits] Commit in libzim/repos (community-x86_64 community-x86_64/PKGBUILD)
Justin Kromlinger
hashworks at archlinux.org
Sat Aug 22 16:17:35 UTC 2020
Date: Saturday, August 22, 2020 @ 16:17:34
Author: hashworks
Revision: 686734
archrelease: copy trunk to community-x86_64
Added:
libzim/repos/community-x86_64/
libzim/repos/community-x86_64/PKGBUILD
(from rev 686733, libzim/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: libzim/repos/community-x86_64/PKGBUILD (from rev 686733, libzim/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-08-22 16:17:34 UTC (rev 686734)
@@ -0,0 +1,29 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=libzim
+pkgver=6.1.8
+pkgrel=2
+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