void-packages/srcpkgs/cinnamon-menus/template

35 lines
982 B
Text
Raw Normal View History

2014-08-30 16:36:38 +00:00
# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=2.2.0
2014-08-30 18:24:21 +00:00
revision=2
2014-08-30 16:36:38 +00:00
short_desc="Cinnamon menu specifications"
build_style=gnu-configure
configure_args=" --disable-static"
2014-08-30 18:24:21 +00:00
hostmakedepends="pkg-config git libtool intltool"
makedepends="glib-devel gnome-common gobject-introspection"
2014-08-30 16:36:38 +00:00
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\.]+)(?=")'
2014-08-30 16:36:38 +00:00
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
}
}