summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4232424571f91d9fc0b02d8a4134d3f03b168f72 (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
# Maintainer: Manolo Martínez <manolo@austrohungaro.com>

_pkgname=greg
pkgname=greg-git
pkgver=0.4.4.3
pkgver() { 
    cd "$pkgname" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' 
}
pkgrel=3
pkgdesc="A command-line podcast aggregator."
arch=(any)
url="https://github.com/manolomartinez/greg"
license=('GPL')
depends=('python-feedparser')
optdepends=('python-stagger-git: writing metadata'
  'wget: alternative downloadhandler'
	'aria2: alternative downloadhandler'
	'python-beautifulsoup4: convert html to text for tagging')
makedepends=('git')
provides=('greg')
conflicts=('greg')
source=('git://github.com/manolomartinez/greg.git')
md5sums=('SKIP')


pkgver() {
  cd $_pkgname
  git describe --tags --always | sed -e 's|-|.|g'
}

package() {
  cd "$srcdir/$_pkgname"

  msg "Running setup.py..."
  python setup.py install --root="${pkgdir}" --optimize=1
}