Date: Sunday, October 31, 2021 @ 21:27:10 Author: heftig Revision: 426914
3.41.0-1 Modified: zenity/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-10-31 21:19:39 UTC (rev 426913) +++ PKGBUILD 2021-10-31 21:27:10 UTC (rev 426914) @@ -2,7 +2,7 @@ # Contributor: Jan de Groot <[email protected]> pkgname=zenity -pkgver=3.32.0+55+gd7bedff +pkgver=3.41.0 pkgrel=1 pkgdesc="Display graphical dialog boxes from shell scripts" url="https://gitlab.gnome.org/GNOME/zenity" @@ -9,28 +9,31 @@ arch=(x86_64) license=(LGPL) depends=(webkit2gtk libnotify) -makedepends=(yelp-tools autoconf-archive git perl) -_commit=d7bedff683df43df0604f989659df48f096f8c0e # master +makedepends=(yelp-tools meson git) +_commit=d8857f446b602d5fb4a41fef3d8a63507a12b72c # tags/3.41.0^0 source=("git+https://gitlab.gnome.org/GNOME/zenity.git#commit=$_commit") sha256sums=('SKIP') pkgver() { - cd $pkgname + cd zenity git describe --tags | sed 's/^ZENITY_//;s/_/./g;s/-/+/g' } prepare() { - cd $pkgname - NOCONFIGURE=1 ./autogen.sh + cd zenity } build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var - make + arch-meson zenity build \ + -D libnotify=true \ + -D webkitgtk=true + meson compile -C build } +check() { + meson test -C build --print-errorlogs +} + package() { - cd $pkgname - make DESTDIR="$pkgdir" install + meson install -C build --destdir "$pkgdir" }
