# Contributor: William Pitcock # Maintainer: Natanael Copa pkgname=zenity pkgver=3.26.0 pkgrel=0 pkgdesc="A GTK+-based xdialog replacement" url="https://www.gnome.org/" arch="all" license="GPL2+" makedepends="gtk+3.0-dev intltool libxml2-utils libnotify-dev itstool" subpackages="$pkgname-lang $pkgname-doc" case $pkgver in *.*.*.*) _v=${pkgver%.*.*};; *.*.*) _v=${pkgver%.*};; *.*) _v=$pkgver;; esac source="https://download.gnome.org/sources/${pkgname}/${_v}/${pkgname}-${pkgver}.tar.xz" builddir="${srcdir}/${pkgname}-${pkgver}" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="b0cc080dbf8a2dcd78ffc0b6460c3b41ca728d62a564d2d49ee0a45cbeeb699c2be06575750a13340bc305efbf43b8ef55f1bbb8c75592b8e186a6f885bc4d5a zenity-3.26.0.tar.xz"