summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58df21b2144c18861e84e5b50bbecfc5eb4106e4 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintener: sputnick <gilles *DOT* quenot *AT* gmail *DOT* com>
# Contributor: ianux <ianux@free.fr>

pkgname=weboob-git
pkgver=1.5_66_gc13327d02
pkgrel=1
pkgdesc="Weboob (Web Out Of Browsers) provides several applications to interact with a lot of websites."
url="http://weboob.org"
license=('AGPL3')
arch=('i686' 'x86_64' 'armv6h')
depends=(
    phonon-qt5
    python2-cssselect
    python2-dateutil
    python2-feedparser
    python2-futures
    python2-google-api-python-client
    python2-html2text
    python2-imaging
    python2-lxml
    python2-prettytable
    python2-pyqt5
    python2-pysqlite
    python2-requests
    python2-simplejson
    python2-unidecode
    python2-yaml
    which
)
makedepends=(git python2-distribute python2-setuptools make)
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')
source=("$pkgname"::'git+https://git.weboob.org/weboob/weboob')
sha256sums=('SKIP')

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"
   install -Dm 644 tools/weboob_bash_completion "$pkgdir/etc/bash_completion.d/weboob"
}