#Packager: George Vlahavas pkgname=mate-netbook pkgver=1.26.0 _mainver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv source=("http://pub.mate-desktop.org/releases/${_mainver}/mate-netbook-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") doinst() { # 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-netbook (a simple window management tool)" "mate-netbook is a simple window management tool which:" " * Allows you to set basic rules for a window type, such as" " maximise|undecorate" " * Allows exceptions to the rules, based on string matching for window" " name and window class." " * Allows 'reversing' of rules when the user manually changes" " something" " * Re-decorates windows on un-maximise" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --with-gtk=3.0 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }