void-packages/srcpkgs/mate-desktop/template
2016-11-04 07:33:09 +01:00

34 lines
1.1 KiB
Bash

# Template file for 'mate-desktop'
pkgname=mate-desktop
version=1.16.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3.0 --disable-static --enable-mpaste
--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool glib-devel gobject-introspection"
makedepends="gtk+3-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>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=587a8da6e65386015101992e1082bb4d4d38420873c70348ba55dc9f9f63f6df
# Package build options
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
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
vmove usr/share/gtk-doc
}
}