void-packages/srcpkgs/mate-desktop/template
2019-04-28 01:45:49 +02:00

35 lines
1.1 KiB
Bash

# Template file for 'mate-desktop'
pkgname=mate-desktop
version=1.20.4
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --enable-mpaste
--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool glib-devel"
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.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b9bbb086c352764a6bf01a3c792a2858336b3a28a82ffb818b509de290b1701c
# Package build options
build_options="gir"
build_options_default="gir"
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
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}