# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=2.8.0
revision=1
short_desc="Cinnamon menu specifications"
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="automake libtool gnome-common pkg-config intltool gobject-introspection"
makedepends="libglib-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=06a6e0a11644dfba8459b2b77fac61563184a3d734bd0e7c0f7a6654df1b3a1c

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}

cinnamon-menus-devel_package() {
        depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
        short_desc+=" - development files"
        pkg_install() {
                vmove "usr/lib/*.so"
                vmove usr/include
                vmove usr/lib/pkgconfig
                vmove usr/share/gir-1.0
        }
}

