void-packages/srcpkgs/kiwix-lib/template

31 lines
984 B
Bash

# Template file for 'kiwix-lib'
pkgname=kiwix-lib
version=12.1.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="icu-devel libzim-devel pugixml-devel xapian-core-devel
libmicrohttpd-devel libcurl-devel Mustache zlib-devel"
depends="aria2"
checkdepends="gtest-devel"
short_desc="Common code base for all Kiwix ports"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://www.kiwix.org/"
changelog="https://raw.githubusercontent.com/kiwix/libkiwix/main/ChangeLog"
distfiles="https://github.com/kiwix/libkiwix/archive/refs/tags/${version}.tar.gz"
checksum=42e8f9f973054e11f17381c988790c8f8267898b5a611741f0aa03cc4ccf3f75
kiwix-lib-devel_package() {
short_desc+=" - development files"
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel
libaria2-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/bin
vmove usr/share/man
vmove usr/include
}
}