summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5be410d357f9b2b1c33a25487d90502d5bd3d9a (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
# Maintainer: Lex Black <autumn-wind at web dot de>

_pkgname=canto-next
pkgname=canto-next-git
pkgver=0.9.7
pkgrel=1
pkgdesc="News aggregator for Atom/RSS/RDF. Git version"
url="http://codezen.org/canto-ng/"
license=('GPL')
arch=('any')
depends=('python-feedparser')
makedepends=('git')
optdepends=('python-requests: Needed by inoreader plugin')
conflicts=('canto-daemon')
provides=("canto-daemon=0.9.7")
source=('git://github.com/themoken/canto-next#branch=master')
md5sums=('SKIP')


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

build() {
  cd ${_pkgname}
  python setup.py build
}

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