# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=yad pkgver=3.0 pkgrel=0 pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line" url="https://sourceforge.net/projects/yad-dialog" arch="all" license="GPL-3.0" depends="hicolor-icon-theme" makedepends="gtk+3.0-dev webkit2gtk-dev intltool libtool automake autoconf" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/v1cont/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver prepare() { default_prepare autoreconf -ivf && intltoolize } build() { ./configure \ --prefix=/usr \ --enable-icon-browser \ --enable-html \ --disable-pfd make } check() { echo "src/util.c" >> po/POTFILES.in make check } package() { make DESTDIR="${pkgdir}" install mkdir -p "$pkgdir/usr/share/doc/$pkgname" } sha512sums="2d97d0216c87be60a62b1e8c2e168c036b21f3d5d68f415dfe2f853cce630ca50660e988c3ba0cd4a5f287eb046abcfbbc2d046d62aaa8a8a32206b6e218467b yad-3.0.tar.gz"