# Template file for 'garcon'
pkgname=garcon
version=0.6.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gettext-devel glib-devel"
makedepends="libglib-devel libxfce4ui-devel"
conf_files="/etc/xdg/menus/xfce-applications.menu"
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://xfce.org/"
license="LGPL-2.0-or-later"
distfiles="https://archive.xfce.org/src/xfce/garcon/${version%.*}/$pkgname-$version.tar.bz2"
checksum=41c31ba0498c2cc39de4a8e0c2367510adbf4bc2104c17feee358e51e6acf603

garcon-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"
		vmove usr/share/gtk-doc
	}
}
