# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=zim-tools pkgver=1.0.5 pkgrel=2 pkgdesc="Various ZIM command line tools" url="https://github.com/openzim/zim-tools" arch="all" 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() { mkdir build meson . build \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" } sha512sums="90f7597c9c767be45750f0edebec5a852a34d29591481b28b6604f016dfd9493d31422a23bc66fbce9ed3ae17a026be3a73d00896ee2a779d319cca56856032f zim-tools-1.0.5.tar.gz"