void-packages/srcpkgs/libgee/template

49 lines
1.3 KiB
Bash

# Template file for 'libgee'
pkgname=libgee
version=0.20.6
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config $(vopt_if vala 'vala')"
makedepends="glib-devel"
short_desc="GObject collection library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Libgee"
changelog="https://gitlab.gnome.org/GNOME/libgee/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz"
checksum=1bf834f5e10d60cc6124d74ed3c1dd38da646787fbf7872220b8b4068e476d4d
# Package build options
build_options="gir vala"
build_options_default="gir vala"
libgee-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
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
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}
libgee08-devel_package() {
depends="libgee-devel>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}
libgee08_package() {
depends="libgee>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}