void-packages/srcpkgs/mate-control-center/template

39 lines
1.3 KiB
Bash

# Template file for 'mate-control-center'
pkgname=mate-control-center
version=1.20.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --disable-update-mimedb"
hostmakedepends="dbus-glib-devel desktop-file-utils glib-devel intltool itstool pkg-config"
makedepends="dbus-glib-devel desktop-file-utils libXScrnSaver-devel libXt-devel
libXxf86misc-devel libcanberra-devel libgtop-devel libmarco-devel
libmatekbd-devel librsvg-devel mate-desktop-devel mate-menus-devel
mate-settings-daemon-devel"
depends="marco mate-icon-theme mate-settings-daemon"
short_desc="The Control Center for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d49a26afa11c13328f40bff8a9762110811786786a6d445d5b3fc3f0737f80f4
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="librsvg-devel mate-desktop-devel mate-menus-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}