Date: Monday, May 1, 2023 @ 18:10:58
Author: heftig
Revision: 476160
archrelease: copy trunk to gnome-unstable-x86_64
Added:
zenity/repos/gnome-unstable-x86_64/
zenity/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 476159, zenity/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: zenity/repos/gnome-unstable-x86_64/PKGBUILD (from rev 476159,
zenity/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2023-05-01 18:10:58 UTC (rev 476160)
@@ -0,0 +1,51 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+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: