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

40 lines
1.4 KiB
Bash

# Template file for 'mate-control-center'
pkgname=mate-control-center
version=1.8.3
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static --disable-schemas-compile
--disable-update-mimedb"
hostmakedepends="pkg-config intltool itstool glib-devel dbus-glib-devel"
makedepends="gtk+-devel dbus-glib-devel dconf-devel mate-desktop-devel mate-menus-devel
mate-settings-daemon-devel libmarco-devel libgtop-devel libmatekbd-devel libunique1-devel
libSM-devel libXxf86misc-devel libXScrnSaver-devel libXt-devel libXcursor-devel
libXi-devel libcanberra-devel startup-notification-devel desktop-file-utils"
depends="marco mate-icon-theme mate-settings-daemon dconf gsettings-desktop-schemas"
short_desc="The Control Center for MATE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
checksum=97bfb66ac0283dcdeae5ec0104ff83b8c644768f8e508b7d227e2a1139934e36
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+-devel mate-desktop-devel lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}