void-packages/srcpkgs/cinnamon-control-center/template
Jürgen Buchmüller 2f93c86354
cinnamon-control-center: fix build (pre configure)
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-10-26 10:08:54 +02:00

51 lines
1.8 KiB
Bash

# Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center
version=3.8.1
revision=1
short_desc="The Cinnamon Control Center"
build_style=gnu-configure
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=f25e474ba908178a8a918064255009b12aa34f018a5dc47b28d495441d97bc71
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"
}
}