void-packages/srcpkgs/libgee08/template
2022-01-21 08:57:08 +01:00

36 lines
1,009 B
Bash

# Template file for 'libgee08'
pkgname=libgee08
version=0.20.4
revision=1
wrksrc="libgee-${version}"
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool $(vopt_if vala 'vala')"
makedepends="glib-devel"
short_desc="GObject collection library (0.8.x API)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/Libgee"
distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz"
checksum=524c1bf390f9cdda4fbd9a47b269980dc64ab5280f0801b53bc69d782c72de0e
# Package build options
build_options="gir vala"
build_options_default="gir vala"
libgee08-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
}
}