# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=yad pkgver=0.32.0 pkgrel=1 pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line" url="http://sourceforge.net/projects/yad-dialog" arch="all" license="GPL3" depends="hicolor-icon-theme" depends_dev="gtk+2.0-dev intltool" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://sourceforge.net/projects/yad-dialog/files/yad-0.32.0.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --prefix=/usr \ --enable-icon-browser \ --disable-html make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install mkdir -p "$pkgdir/usr/share/doc/$pkgname" } md5sums="c4c7c64f86cc10383fb624e6659838de yad-0.32.0.tar.xz" sha256sums="108f0bf9b1b649106188e523e14f3f056ae0bba1251dd85c4756fae02512e4ae yad-0.32.0.tar.xz" sha512sums="f1bdcabeaed50e1c2a44cbf8091e09ad9ada0cd0205b0c0e9f403d080d068dedad478ac5b38286ceb39afef7a1884a13418ac7f6a96f88f0d6fbb5fd9f36780f yad-0.32.0.tar.xz"