# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=yad pkgver=0.17.1.1 pkgrel=1cp source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://code.google.com/p/yad/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (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 $SRC/${pkgname}-${pkgver} || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --enable-icon-browser || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 }