void-packages/srcpkgs/cinnamon-desktop/template

36 lines
1 KiB
Text
Raw Normal View History

2013-12-15 12:01:40 +00:00
# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
2014-08-29 17:35:28 +00:00
version=2.2.3
revision=2
2013-12-15 12:01:40 +00:00
short_desc="Library with common API for various Cinnamon modules"
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which git"
makedepends="gdk-pixbuf-devel gtk+3-devel libXrandr-devel xkeyboard-config libxkbfile-devel"
depends="xkeyboard-config"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-12-15 12:01:40 +00:00
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\.]+)(?=")'
2013-12-15 12:01:40 +00:00
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}
cinnamon-desktop-devel_package() {
depends="gtk+3-devel libxkbfile-devel ${sourcepkg}>=${version}_${revision}"
2013-12-15 12:01:40 +00:00
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
2013-12-15 12:01:40 +00:00
}
}