#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=zenity pkgver=2.30.0 pkgrel=1gv source=("http://ftp.gnome.org/pub/GNOME/sources/zenity/2.30/zenity-2.30.0.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "zenity (Display graphical dialog boxes from shell scripts)" "Zenity allows you to display GTK+ dialogs from shell scripts; it is a" "rewrite of the gdialog command from GNOME 1. Zenity includes a" "gdialog wrapper script so that it can be used with legacy scripts." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-scrollkeeper --enable-libnotify --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg # help files are not really needed rm -rf $startdir/pkg/usr/share/{gnome,omf} }