1 # Maintainer: Justin Kromlinger <hashworks@archlinux.org>
5 pkgdesc="Reference implementation of the ZIM specification by the openZIM project, v6"
8 depends=('xapian-core' 'zlib' 'xz' 'icu' 'zstd')
9 makedepends=('meson' 'gtest' 'git')
11 url='https://github.com/openzim/libzim'
12 source=("libzim-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
13 sha256sums=('648fb5af65dd28a6b221b9294217939bf5abf929d706e7323ebb4196849a923c')
22 cd "libzim-${pkgver}/build"
23 SKIP_BIG_MEMORY_TEST=1 ninja meson-test
27 install -Dm644 "libzim-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
28 cd "libzim-${pkgver}/build"
29 DESTDIR="${pkgdir}" ninja install