#Packager: George Vlahavas pkgname=mate-settings-daemon pkgver=1.24.2 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint # source=("http://pub.mate-desktop.org/releases/${_majorver}/mate-settings-daemon-${pkgver}.tar.xz") source=("mate-settings-daemon-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew' 'nosrcpack') 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 patch -p1 --verbose -R < $startdir/switch-to-use-gettext.patch ./autogen.sh ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --disable-static \ --enable-pulse \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }