[arch-commits] Commit in libzim/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Apr 15 12:10:20 UTC 2021
Date: Thursday, April 15, 2021 @ 12:10:20
Author: foutrelis
Revision: 919021
archrelease: copy trunk to community-staging-x86_64
Added:
libzim/repos/community-staging-x86_64/
libzim/repos/community-staging-x86_64/PKGBUILD
(from rev 919020, libzim/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: libzim/repos/community-staging-x86_64/PKGBUILD (from rev 919020, libzim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-04-15 12:10:20 UTC (rev 919021)
@@ -0,0 +1,29 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+pkgname=libzim
+pkgver=6.3.0
+pkgrel=3
+pkgdesc="Reference implementation of the ZIM specification by the openZIM project"
+license=('GPL2')
+arch=('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=('984d2f3881c507c9f0212dc2bc1b808d25cdeef6a62043f9211fcb78a231a986')
+
+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