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 <[email protected]>
+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
+}

Reply via email to