#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=zenity pkgver=3.42.0 _majorver=`echo $pkgver | cut -d'.' -f1,2` pkgrel=1gv source=("https://download.gnome.org/sources/zenity/$_majorver/zenity-$pkgver.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 meson build \ -D prefix=/usr \ -D libdir=/usr/lib${LIBDIRSUFFIX} \ -D libnotify=true \ -D webkitgtk=true meson compile -C build meson install -C build --destdir $startdir/pkg/ # keep compatibility for matedialog ( cd $startdir/pkg/usr/bin ln -sf zenity matedialog ) }