# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=kiwix-tools
pkgver=3.7.0
pkgrel=0
pkgdesc="Kiwix command line tools"
url="https://github.com/kiwix/kiwix-tools"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	meson
	libkiwix-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/kiwix-tools/archive/$pkgver.tar.gz"
options="!check" # no test suite
subpackages="$pkgname-doc"

build() {
	abuild-meson . build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="
934407e0ffb270806cb82e3ca57fd9a136fc7982f360beaac94dfa0aed7b97b9a47b950f49e0011d73cace3c1df706e5f58ffb15585ee4ce82ef042aca63b316  kiwix-tools-3.7.0.tar.gz
"
