52 lines
1.8 KiB
Bash
52 lines
1.8 KiB
Bash
# Template file for 'cinnamon-control-center'
|
|
pkgname=cinnamon-control-center
|
|
version=4.0.1
|
|
revision=1
|
|
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"
|
|
short_desc="The Cinnamon Control Center"
|
|
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=130663817d55a6f37f6f5a51b2aa71b7b2ec7c684ef358f16b5a47e1b133ff76
|
|
|
|
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"
|
|
}
|
|
}
|