#Packager: George Vlahavas pkgname=mate-settings-daemon pkgver=1.8.1 pkgrel=1gv source=("http://pub.mate-desktop.org/releases/1.8/mate-settings-daemon-1.8.1.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew') doinst() { # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-settings-daemon (The MATE settings daemon)" "mate-settings daemon runs in the background of a MATE session and" "applies the correct user settings, like icon themes, colours etc." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # put icons in hicolor dir, not everyone has to use the mate # icon theme mkdir -p $startdir/pkg/usr/share/icons/hicolor mv $startdir/pkg/usr/share/icons/mate/* $startdir/pkg/usr/share/icons/hicolor/ rmdir $startdir/pkg/usr/share/icons/mate }