53 lines
1.8 KiB
Bash
53 lines
1.8 KiB
Bash
# Template file for 'cinnamon-control-center'
|
|
pkgname=cinnamon-control-center
|
|
version=4.2.2
|
|
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="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=0cd334e9fc36165664362d2bef7953879ec1f1d1becdbce21ef0557ea34618d7
|
|
nocross="gobject-introspection"
|
|
|
|
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"
|
|
}
|
|
}
|