# Contributor: lang2 <wenzhi.liang@gmail.com>
# Contributor: sylvain alborini  <sylvain dot alborini at gmail dot com>
# Maintainer: Aurélien Desbrières <aurelien@replicant.io>

pkgname=pyzenity
_pkg_name=PyZenity
pkgver=0.1.8
pkgrel=1
pkgdesc="python bindings for zenity"
url="http://www.brianramos.com/?page_id=38"
depends=('python2' 'zenity')
arch=('any')
license=('GPL')
source=(http://brianramos.com/software/${_pkg_name}/${_pkg_name}-${pkgver}.tar.gz)
sha256sums=('d57bd01d8ae5bb229c9d2f1f59b2bcb1829e0a79626903c07e34d1f081df5fa1')

package() {
  cd "$srcdir/$_pkg_name-$pkgver"

  python2 setup.py install --root="$pkgdir/" --optimize=1
}
