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

49 lines
1.8 KiB
Bash

# Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center
version=3.6.5
revision=2
short_desc="The Cinnamon Control Center"
build_style=gnu-configure
configure_args="--disable-static --disable-update-mimedb --disable-systemd"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel glib-devel intltool xmlto docbook-xsl gtk-doc autoconf-archive"
makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel
cinnamon-desktop-devel cinnamon-settings-daemon-devel libXxf86misc-devel
network-manager-applet-devel libSM-devel libnotify-devel upower-devel
polkit-devel colord-devel ibus-devel pulseaudio-devel libwacom-devel tzdata
libcanberra-devel cups-devel ModemManager-devel network-manager-applet-devel
gnome-online-accounts-devel"
depends="libcinnamon-control-center>=${version}_${revision} cinnamon-settings-daemon>=2.4
cinnamon-translations>=2.4 desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=298daf3f0f01af11b63a57c59f0ee62cc0cb16a12b498bdd45fd92e6d32754aa
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
# Remove unused stuff
make -C shell DESTDIR="$DESTDIR" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
rm -R "$DESTDIR/usr/share/applications"
rm -R "$DESTDIR/etc"
}
libcinnamon-control-center_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
cinnamon-control-center-devel_package() {
short_desc+=" - development files"
depends="libglib-devel gtk+3-devel lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}