-
Jan Alexander Steffens (heftig) authoredJan Alexander Steffens (heftig) authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
PKGBUILD 937 B
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
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: