# Maintener: sputnick <gilles *DOT* quenot *AT* gmail *DOT* com>
# Contributor: ianux <ianux@free.fr>
pkgname=weboob-git
pkgver=0.i.24.gdec4d08
pkgrel=1
pkgdesc="Weboob (Web Out Of Browsers) provides several applications to interact with a lot of websites."
url="http://weboob.org"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('phonon-qt4' 'which' 'python2-pyqt' 'python2-elementtidy' 'python2-prettytable'
'python2-dateutil' 'python2-feedparser' 'python2-gdata' 'python2-html2text'
'python2-imaging' 'python2-lxml' 'python2-mechanize' 'python2-simplejson'
'python2-pysqlite' 'python2-yaml' 'python2-cssselect' 'python2-requests')
makedepends=('git' 'python2-distribute' 'setuptools')
optdepends=('gnupg: check for repository authenticity'
'python2-routes: contrib backends'
'python2-webob: contrib backends'
'python2-mako: contrib backends'
'pywebkitgtk: contrib backends'
'python2-pillow: PIL replacement'
'python2-termcolor: color formatting'
'python2-nose: test suite')
conflicts=('weboob')
provides=('weboob')
install="weboob.install"
source=("$pkgname"::'git://git.symlink.me/pub/weboob/devel.git' "weboob.install")
sha256sums=('SKIP'
'f2ce3a422ab222eb6a26d1f2c1798441e9e4bfb405db1f8f682d3b7e47c603b9')
pkgver() {
cd ${srcdir}/${pkgname}
local ver="$(git describe --long)"
printf "%s" "${ver//-/.}"
}
package() {
cd ${srcdir}/${pkgname}
python2 setup.py install --qt --xdg --prefix=/usr --root="$pkgdir"
}