void-packages/srcpkgs/kiwix-lib/template

28 lines
898 B
Bash

# Template file for 'kiwix-lib'
pkgname=kiwix-lib
version=2.0.1
revision=1
build_style=meson
hostmakedepends="pkg-config ctpp2"
makedepends="ctpp2-devel icu-devel libzim-devel pugixml-devel xapian-core-devel
libaria2-devel"
short_desc="Common code base for all Kiwix ports"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
#changelog="https://github.com/kiwix/kiwix-lib/blob/${version}/ChangeLog"
homepage="https://www.kiwix.org/"
distfiles="https://github.com/kiwix/kiwix-lib/archive/${version}.tar.gz"
checksum=ff2cb31da5183d541451158bfb678ff864ceea5cd22b655350cc0d80e7cfa3ac
kiwix-lib-devel_package() {
short_desc+=" - development packages"
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel
ctpp2-devel libaria2-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/bin
vmove usr/include
}
}