summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fead16a9559f6ecb0cbd99bbb6ad1aca0e8570b (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
# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>

_pkgname=weboob
pkgname=weboob-headless-git
pkgver=1.3.r86.gf7592d1e4
pkgrel=1
pkgdesc="Web Out Of Browsers provides several applications to interact with a lot of websites. Headless version, for use in e.g. Cozy/Kresus."
arch=('any')
url="http://weboob.org/"
license=('GPL')
depends=('python2-dateutil'
         'python2-feedparser'
         'python2-lxml'
         'python2-prettytable'
         'python2-requests'
#         'python2-cssselect'
         'python2-html2text'
         'python2-unidecode'
         'python2-pillow'
         'python2-simplejson'
         'python2-yaml'
         'python2-mechanize'
         'python2-gdata'
         'python2-futures')
makedepends=('python2-setuptools' 'git')
conflicts=('weboob' 'weboob-git')
provides=('weboob' 'weboob-git')
source=(${_pkgname}::'git+https://git.weboob.org/weboob/devel.git')
sha256sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd ${_pkgname}
    python2 setup.py build --no-qt --no-hildon
}

package() {
    cd ${_pkgname}
    python2 setup.py install --no-xdg --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
}