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

41 lines
1.4 KiB
Bash

# Template file for 'mate-control-center'
pkgname=mate-control-center
version=1.26.1
revision=2
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
libcanberra-devel libgtop-devel libmarco-devel
libmatekbd-devel librsvg-devel mate-desktop-devel mate-menus-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=e05f492a3b657aa56fc58f7cf71bc8c80df8e25351fde4db4f523ab8db5b5608
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
}
}