#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=zenity pkgver=2.24.1 pkgrel=2gv arch=x86_64 source=("ftp://ftp.gnome.org/pub/gnome/sources/zenity/2.24/zenity-2.24.1.tar.bz2" "zenity-2.24.0-focus.patch") 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 ( cd src patch -p0 < $startdir/src/zenity-2.24.0-focus.patch || exit 1 ) ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-scrollkeeper --enable-libnotify make || return 1 make install DESTDIR=$startdir/pkg # help files are not really needed rm -rf $startdir/pkg/usr/share/{gnome,omf} }