# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot pkgname=zenity pkgver=3.44.1 pkgrel=1 pkgdesc="Display graphical dialog boxes from shell scripts" url="https://gitlab.gnome.org/GNOME/zenity" arch=(x86_64) license=(LGPL) depends=( gtk3 libnotify ) makedepends=( git meson yelp-tools ) optdepends=('perl: gdialog wrapper') _commit=5cb56e3e87dcbb1fb423ecee436a62bde483b611 # tags/3.44.1^0 source=("git+https://gitlab.gnome.org/GNOME/zenity.git#commit=$_commit") b2sums=('SKIP') pkgver() { cd zenity git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd zenity } build() { local meson_options=( -D libnotify=true ) arch-meson zenity build "${meson_options[@]}" meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" } # vim:set sw=2 sts=-1 et: