# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=zim-tools pkgver=1.1.0 pkgrel=0 pkgdesc="Various ZIM command line tools" url="https://github.com/openzim/zim-tools" arch="all !mips !mips64" # blocked by libzim-dev license="GPL-3.0-or-later" options="!check" # No test suite from upstream makedepends="meson libzim-dev" subpackages="$pkgname-doc" source="zim-tools-$pkgver.tar.gz::https://github.com/openzim/zim-tools/archive/$pkgver.tar.gz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ . output ninja -C output } package() { DESTDIR="$pkgdir" ninja -C output install install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" } sha512sums="c878c80233f37c5068a7758eefa298143b34828c802bc9bea7b1c523a562fd96951968afbe9b7b104b3ce3a9f78db4639cd03aa90e9426eefceac838e8d40d2a zim-tools-1.1.0.tar.gz"