[arch-commits] Commit in libzim6/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Nov 21 21:28:07 UTC 2021
Date: Sunday, November 21, 2021 @ 21:28:07
Author: foutrelis
Revision: 1054030
archrelease: copy trunk to community-staging-x86_64
Added:
libzim6/repos/community-staging-x86_64/
libzim6/repos/community-staging-x86_64/PKGBUILD
(from rev 1054029, libzim6/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: libzim6/repos/community-staging-x86_64/PKGBUILD (from rev 1054029, libzim6/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-21 21:28:07 UTC (rev 1054030)
@@ -0,0 +1,30 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+pkgname=libzim6
+pkgver=6.3.2
+pkgrel=3
+pkgdesc="Reference implementation of the ZIM specification by the openZIM project, v6"
+license=('GPL2')
+arch=('x86_64')
+depends=('xapian-core' 'zlib' 'xz' 'icu' 'zstd')
+makedepends=('meson' 'gtest' 'git')
+conflicts=('libzim')
+url='https://github.com/openzim/libzim'
+source=("libzim-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('648fb5af65dd28a6b221b9294217939bf5abf929d706e7323ebb4196849a923c')
+
+build() {
+ cd "libzim-${pkgver}"
+ arch-meson build
+ ninja -C build
+}
+
+check() {
+ cd "libzim-${pkgver}/build"
+ SKIP_BIG_MEMORY_TEST=1 ninja meson-test
+}
+
+package() {
+ install -Dm644 "libzim-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd "libzim-${pkgver}/build"
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list