[arch-commits] Commit in libzim/repos/community-x86_64 (PKGBUILD PKGBUILD)

Justin Kromlinger hashworks at gemini.archlinux.org
Wed Oct 20 15:28:08 UTC 2021


    Date: Wednesday, October 20, 2021 @ 15:28:08
  Author: hashworks
Revision: 1031404

archrelease: copy trunk to community-x86_64

Added:
  libzim/repos/community-x86_64/PKGBUILD
    (from rev 1031403, libzim/trunk/PKGBUILD)
Deleted:
  libzim/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-20 15:28:05 UTC (rev 1031403)
+++ PKGBUILD	2021-10-20 15:28:08 UTC (rev 1031404)
@@ -1,29 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-pkgname=libzim
-pkgver=6.3.2
-pkgrel=1
-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=('648fb5af65dd28a6b221b9294217939bf5abf929d706e7323ebb4196849a923c')
-
-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
-}

Copied: libzim/repos/community-x86_64/PKGBUILD (from rev 1031403, libzim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-20 15:28:08 UTC (rev 1031404)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+pkgname=libzim
+pkgver=7.0.0
+_testing_suite_commit=31ffbefd6699384d80e1f584b69b4321c843bc0c # v0.3
+pkgrel=1
+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=('91702b383d33f4aff0216596cc01b46dc3c6f8d60c069ffd14affa8ff6459f5d'
+            '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
+}



More information about the arch-commits mailing list