void-packages/srcpkgs/mate-control-center/template
2017-06-22 12:30:38 +02:00

39 lines
1.4 KiB
Bash

# Template file for 'mate-control-center'
pkgname=mate-control-center
version=1.18.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --disable-update-mimedb"
hostmakedepends="pkg-config intltool itstool glib-devel dbus-glib-devel desktop-file-utils"
makedepends="gtk+3-devel dbus-glib-devel dconf-devel mate-desktop-devel mate-menus-devel
mate-settings-daemon-devel libmarco-devel libgtop-devel libmatekbd-devel
libSM-devel libXxf86misc-devel libXScrnSaver-devel libXt-devel libXcursor-devel
libXi-devel libcanberra-devel startup-notification-devel desktop-file-utils
librsvg-devel"
depends="marco mate-icon-theme mate-settings-daemon dconf gsettings-desktop-schemas"
short_desc="The Control Center for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b49d5af69dbf948604e646bde668c573e40d59c767d3cc19f358158720b0963a
post_install() {
rm -f ${DESTDIR}/usr/share/applications/mimeinfo.cache
}
libmate-control-center_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libmate-control-center-devel_package() {
short_desc+=" - development files"
depends="gtk+3-devel mate-desktop-devel lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}