Date: Monday, April 17, 2023 @ 13:31:28
Author: hashworks
Revision: 1446801
archrelease: copy trunk to community-x86_64
Added:
libzim/repos/community-x86_64/PKGBUILD
(from rev 1446800, libzim/trunk/PKGBUILD)
Deleted:
libzim/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 36 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 13:31:24 UTC (rev 1446800)
+++ PKGBUILD 2023-04-17 13:31:28 UTC (rev 1446801)
@@ -1,34 +0,0 @@
-# Maintainer: Justin Kromlinger <[email protected]>
-pkgname=libzim
-pkgver=8.1.0
-# https://github.com/openzim/zim-testing-suite/releases
-_testing_suite_commit=31ffbefd6699384d80e1f584b69b4321c843bc0c # v0.4
-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=('16ed7f2e6f39a5c15a70609b776657b3152a6f4f91ac1a95f331d4ca79cb89f0'
- '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 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 1446800,
libzim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-17 13:31:28 UTC (rev 1446801)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+pkgname=libzim
+pkgver=8.1.1
+# https://github.com/openzim/zim-testing-suite/releases
+_testing_suite_commit=31ffbefd6699384d80e1f584b69b4321c843bc0c # v0.4
+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=('0d5ecb9b53c5511524a2726e5b6034541d3cab4afb2bc4c532da5a5fff45bcd9'
+ 'SKIP')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ # https://github.com/openzim/libzim/issues/757
+ arch-meson build \
+ -Dtest_data_dir="${srcdir}/zim-testing-suite/data" \
+ -Dcpp_std=c++14
+ ninja -C build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}/build"
+ SKIP_BIG_MEMORY_TEST=1 meson test
+}
+
+package() {
+ install -Dm644 "${pkgname}-${pkgver}/COPYING"
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}" ninja install
+}