# Maintainer (AUR): hashworks # parabola changes and rationale: # - No changes pkgname=libzim pkgver=6.0.2 pkgrel=1 pkgdesc="Reference implementation of the ZIM specification by the openZIM project" license=('GPL2') arch=('armv7h' 'i686' 'x86_64') replaces=('zimlib-git') depends=('xapian-core' 'zlib' 'xz' 'icu') makedepends=('meson' 'gtest' 'cython' 'python-pytest') url='https://github.com/openzim/libzim' source=("https://github.com/openzim/libzim/archive/${pkgver}.tar.gz") sha256sums=(993b6885b18e54b3df1493895e61f05e525d846f17d0d3cea57fb74f6415b457) build() { cd "${pkgname}-${pkgver}" arch-meson build ninja -C build } check() { cd "${pkgname}-${pkgver}/build" SKIP_BIG_MEMORY_TEST=1 ninja meson-test } package() { cd "${pkgname}-${pkgver}/build" DESTDIR="${pkgdir}" ninja install }