Date: Saturday, December 19, 2020 @ 06:01:10
  Author: felixonmars
Revision: 779744

archrelease: copy trunk to community-staging-x86_64

Added:
  libzim/repos/community-staging-x86_64/
  libzim/repos/community-staging-x86_64/PKGBUILD
    (from rev 779743, libzim/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: libzim/repos/community-staging-x86_64/PKGBUILD (from rev 779743, 
libzim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-19 06:01:10 UTC (rev 779744)
@@ -0,0 +1,29 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+pkgname=libzim
+pkgver=6.3.0
+pkgrel=2
+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