# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: George Vlahavas #Previous packager: JRD pkgname=yad pkgver=0.23.1 pkgrel=2gv source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://code.google.com/p/yad/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "yad (displays graphical dialogs from shell scripts or command line)" "Yad (yet another dialog) is a fork of Zenity with many improvements," "including custom buttons, additional dialogs and a pop-up menu in" "the notification area." "" "There were two main reasons for this fork. The first was to remove" "dependencies on deprecated libraries like libglade and gnome-canvas." "The second was the slow pace of Zenity development including many " "unimplemented enhancement suggestions in the GNOME Bugzilla." ) build() { cd $startdir/src/${pkgname}-${pkgver} || return 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --with-gtk=gtk2 \ --enable-icon-browser || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 }