# Contributor (Arch): mutlu_inek@yahoo.de
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=pysheng
pkgver=0.1
pkgrel=1
pkgdesc="CLI and GUI program to download pages from Google Books as PNG images"
arch=(i686 x86_64)
url="https://code.google.com/p/pysheng/"
license=('GPL')
depends=('python2')
makedepends=()
optdepends=('python2-reportlab: GUI')
provides=()
conflicts=()
replaces=()
options=()
source=(http://pysheng.googlecode.com/files/$pkgname-$pkgver.tgz)

package() {
   cd $pkgname-$pkgver
   python2 setup.py install --root="$pkgdir/" --optimize=1
}