# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=2.2.0
revision=2
short_desc="Cinnamon menu specifications"
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="pkg-config git libtool intltool"
makedepends="glib-devel gnome-common gobject-introspection"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"

do_fetch() {
	git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}

pre_configure() {
	./autogen.sh
}

cinnamon-menus-devel_package() {
        depends="glib-devel ${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
        }
}

