void-packages/srcpkgs/garcon/template

31 lines
943 B
Bash

# Template file for 'garcon'
pkgname=garcon
version=0.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="xfce4-dev-tools 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="http://wiki.xfce.org/dev/garcon"
license="LGPL-2.1"
distfiles="http://archive.xfce.org/src/xfce/garcon/${version%.*}/$pkgname-$version.tar.bz2"
checksum=787dc859713b6518992d760d4b858fb02e8a30705e6f6e871d7a14cc97bca972
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
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
}
}