summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c6fdc04adb0b98fe2febd81d0bd635495eaa79c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Maintainer='Gilles Hamel <hamelg@laposte.net>'
pkgname=weboob
pkgver=1.4
pkgrel=1
pkgdesc="Web Out Of Browsers provides several applications to interact with a lot of websites."
arch=('any')
url="http://weboob.org/"
license=('GPL')
install='weboob.install'
depends=('python2-pyqt5' 'phonon-qt5' 'python2-dateutil' 'python2-prettytable'
     'python2-requests' 'python2-google-api-python-client'
     'python2-feedparser' 'python2-cssselect' 'python2-html2text'
     'python2-imaging' 'python2-simplejson' 'python2-lxml'
     'python2-yaml' 'python2-futures' 'python2-six'
	 'python2-unidecode' 'which')
makedepends=('python2-setuptools')
optdepends=('gnupg: check for repository authenticity'
            'python2-routes: contrib backends'
            'python2-webob: contrib backends'
            'python2-mako: contrib backends'
            'pywebkitgtk: contrib backends'
            'python2-pysqlite: contrib backends'
            'python2-pillow: PIL replacement'
            'python2-termcolor: color formatting'
            'python2-nose: test suite'
	        'bash-completion: to enable bash completion')
source=("https://git.weboob.org/weboob/weboob/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('0d883e3f04c750ba22e777a4c03b9fc8')

package() {
  cd $pkgname-$pkgver
  python2 setup.py install --qt --xdg --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm 644 tools/weboob_bash_completion \
  	  "$pkgdir/etc/bash_completion.d/weboob"
}