void-packages/srcpkgs/mate-desktop/template

35 lines
1.1 KiB
Bash
Raw Normal View History

2014-08-31 17:32:32 +02:00
# Template file for 'mate-desktop'
pkgname=mate-desktop
2015-05-19 11:45:41 +02:00
version=1.10.0
2015-03-15 08:54:40 +01:00
revision=1
2014-08-31 17:32:32 +02:00
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static --enable-mpaste
2015-05-19 13:19:54 +02:00
--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool glib-devel $(vopt_if gir gobject-introspection)"
2014-08-31 17:32:32 +02:00
makedepends="gtk+-devel dconf-devel libXrandr-devel startup-notification-devel"
depends="dconf hicolor-icon-theme dejavu-fonts-ttf"
short_desc="Library with common API for various MATE modules"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-08-31 17:32:32 +02:00
license="LGPL-3"
homepage="http://mate-desktop.org"
2015-05-19 11:45:41 +02:00
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=153b9636314b6271084320c69925f877c6a7b51f498bcb34e86eca962baa0b61
2014-08-31 17:32:32 +02:00
2015-05-19 13:19:54 +02:00
# Package build options
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
2014-08-31 17:32:32 +02:00
mate-desktop-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
2014-09-01 09:35:14 +02:00
vmove usr/share/gtk-doc
2014-08-31 17:32:32 +02:00
}
}