#Packager: George Vlahavas # Modified for Slint by Didier Spaier # Not no not enable appindicator for now, not sure it's worth the # added deps. Didier pkgname=mate-control-center pkgver=1.24.2 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint #source=("http://pub.mate-desktop.org/releases/${_majorver}/mate-control-center-${pkgver}.tar.xz") source=("mate-control-center-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew' 'nosrcpack') doinst() { # update the mime desktop database if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q fi # update the mime database if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-control-center (utilities to configure the MATE desktop)" "This package contains configuration applets for the MATE desktop," "allowing to set accessibility configuration, desktop fonts, keyboard" "and mouse properties, sound setup, desktop theme and background, user" "interface properties, screen resolution, and other MATE parameters." ) build() { cd $startdir/src/$pkgname-$pkgver ./autogen.sh ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --disable-update-mimedb \ --disable-static \ --disable-maintainer-mode \ --build=$arch-slackware-linux sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }