Date: Thursday, April 14, 2022 @ 16:42:15
  Author: foutrelis
Revision: 1186245

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: libzim/repos/community-staging-x86_64/PKGBUILD (from rev 1186244, 
libzim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-14 16:42:15 UTC (rev 1186245)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+pkgname=libzim
+pkgver=7.2.0
+_testing_suite_commit=31ffbefd6699384d80e1f584b69b4321c843bc0c # v0.4
+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' 'git')
+url='https://github.com/openzim/libzim'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+        
"git+https://github.com/openzim/zim-testing-suite#commit=${_testing_suite_commit}";)
+sha256sums=('9dbcff2c0e21472a5ff7ca10c761c5ae07008a35c143df6c6274971bb536072d'
+            'SKIP')
+
+build() {
+       cd "${pkgname}-${pkgver}"
+       arch-meson build \
+               -Dtest_data_dir="${srcdir}/zim-testing-suite/data"
+       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