#Packager: George Vlahavas pkgname=mate-dialogs pkgver=1.8.0 pkgrel=1gv source=("http://pub.mate-desktop.org/releases/1.8/mate-dialogs-1.8.0.tar.xz" "help.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-dialogs (Display graphical dialog boxes from shell scripts)" "MATE Dialogs allows you to display GTK+ dialogs from shell scripts; it" "is a fork of zenity, which in turn is a rewrite of the gdialog command" "from GNOME 1. A symlink for zenity is provided, so scripts that use" "zenity can be run with matedialog." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/help.patch || exit 1 ./autogen.sh --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-libnotify \ --with-gtk=2.0 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # create a zenity symlink ( cd $startdir/pkg/usr/bin ln -sf matedialog zenity ) # remove unnecessary help files rm -rf $startdir/pkg/usr/share/help }