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

53 lines
1.8 KiB
Bash

# Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center
version=4.6.0
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --disable-update-mimedb --disable-systemd"
hostmakedepends="autoconf-archive gettext-devel glib-devel gnome-common
gobject-introspection intltool libtool pkg-config libxslt"
makedepends="ModemManager-devel cinnamon-desktop-devel cinnamon-menus-devel
cinnamon-settings-daemon-devel gnome-online-accounts-devel ibus-devel
libSM-devel libXxf86misc-devel libcanberra-devel libgnomekbd-devel
libnotify-devel libwacom-devel network-manager-applet-devel polkit-devel
pulseaudio-devel tzdata upower-devel"
depends="libcinnamon-control-center>=${version}_${revision} cinnamon-settings-daemon>=2.4
cinnamon-translations>=2.4 desktop-file-utils hicolor-icon-theme"
short_desc="Cinnamon Control Center"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=cfb1c7398cac2c071d4cca1317c98094c107ec2ebb1f46abda8fd9d956ba6f92
do_check() {
:
}
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"
}
}