void-packages/srcpkgs/zim-tools/template

30 lines
1.0 KiB
Bash

# Template file for 'zim-tools'
pkgname=zim-tools
version=3.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libzim-devel xapian-core-devel icu-devel
gumbo-parser-devel docopt.cpp-devel file-devel Mustache zlib-devel"
checkdepends="gtest-devel"
short_desc="Various ZIM command line tools"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="http://www.openzim.org"
changelog="https://raw.githubusercontent.com/openzim/zim-tools/main/ChangeLog"
distfiles="https://github.com/openzim/zim-tools/archive/refs/tags/${version}.tar.gz"
checksum=ba67da31da199ff8c759ca156501d216a5175fcea72b7e7e6b7b358e5de4af54
make_check=no # Tests are broken upstream, see https://github.com/openzim/zim-tools/issues/345
libzim-tools_package() {
build_style=meta
short_desc+=" - transitional dummy package"
depends="${sourcepkg}>=${version}_${revision}"
}
zimwriterfs_package() {
build_style=meta
short_desc+=" - transitional dummy package"
depends="${sourcepkg}>=${version}_${revision}"
}