void-packages/srcpkgs/cinnamon-desktop/template
2015-07-05 12:06:38 +02:00

38 lines
1.1 KiB
Bash

# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
version=2.6.5
revision=1
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 glib-devel intltool git"
makedepends="gdk-pixbuf-devel gtk+3-devel libXrandr-devel xkeyboard-config libxkbfile-devel"
depends="xkeyboard-config"
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=a004790f46d1960592f9462cbf6d394d9a5c66b31bb13cc295ed8acb1135924a
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
cinnamon-desktop-devel_package() {
depends="gtk+3-devel libxkbfile-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}