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

32 lines
1.3 KiB
Bash

# Template file for 'mate-control-center'
pkgname=mate-control-center
version=1.28.0
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 itstool
pkg-config gettext"
makedepends="dbus-glib-devel desktop-file-utils libXScrnSaver-devel libXt-devel
libcanberra-devel libgtop-devel libmarco-devel udisks2-devel elogind-devel
libmatekbd-devel librsvg-devel mate-desktop-devel mate-menus-devel
libayatana-appindicator-devel libxml2-devel dconf-devel accountsservice-devel
mate-settings-daemon-devel polkit-devel"
depends="marco mate-icon-theme mate-settings-daemon"
short_desc="Control Center for MATE"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/mate-control-center/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/mate-control-center-${version}.tar.xz"
checksum=ebf2c704fd5248dc2f9836ff29028869ef29d5054907cc615734b6383a7914bc
replaces="libmate-control-center<=1.27.0_1 libmate-control-center-devel<=1.27.0_1"
pre_configure() {
sed -i 's/"systemd/"libsystemd/' configure
}
post_install() {
rm -f ${DESTDIR}/usr/share/applications/mimeinfo.cache
}