#Maintainer: Dimitris Jemos pkgname=zenity pkgver=4.0.1 pkgrel=1dj source=("https://download.gnome.org/sources/zenity/4.0/zenity-4.0.1.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('noautodotnew') 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 mkdir build cd build CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ meson .. \ --buildtype=release \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ -Dwebkitgtk=false ninja DESTDIR=$startdir/pkg ninja install || return 1 cd .. # keep compatibility for matedialog ( cd $startdir/pkg/usr/bin ln -sf zenity matedialog ) }