38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'libxmlb'
|
|
pkgname=libxmlb
|
|
version=0.3.15
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dgtkdoc=false -Dtests=false -Dstemmer=false
|
|
$(vopt_bool gir introspection)"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="libglib-devel libuuid-devel libzstd-devel"
|
|
short_desc="Library to help create and query binary XML blobs"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/hughsie/libxmlb"
|
|
changelog="https://raw.githubusercontent.com/hughsie/libxmlb/main/NEWS"
|
|
distfiles="https://github.com/hughsie/libxmlb/archive/${version}.tar.gz"
|
|
checksum=68ee69002cc2b792fca250d7a7df2a8e3f8e43ccd6ab7b14c8481407b95e7087
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
post_install() {
|
|
rm -rf "${DESTDIR}"/usr/share/installed-tests
|
|
}
|
|
|
|
libxmlb-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|