42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'libgee'
|
|
pkgname=libgee
|
|
version=0.6.8
|
|
revision=6
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
|
makedepends="libglib-devel vala-devel"
|
|
short_desc="GObject collection library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://live.gnome.org/Libgee"
|
|
distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.xz"
|
|
checksum=a61f8d796173d41f6144a030d4bd22461f0bb3fa18a3ebe02341b315feebf5d3
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
configure_args+=" --enable-introspection"
|
|
makedepends+=" gobject-introspection"
|
|
else
|
|
configure_args+=" --disable-introspection"
|
|
fi
|
|
|
|
libgee-devel_package() {
|
|
depends="glib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/share/vala
|
|
}
|
|
}
|