void-packages/srcpkgs/cinnamon-menus/template
2014-11-01 19:44:30 +01:00

34 lines
982 B
Text

# 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/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
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
}
}