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
# Maintainer: Manolo Martínez <[email protected]>

_pkgname=greg
pkgname=greg-git
pkgver=0.1.0.14.g8994e3f
pkgrel=1
pkgdesc="A command-line podcast aggregator".
arch=(any)
url="https://github.com/manolomartinez/greg"
license=('GPL')
depends=('python' 'python-feedparser')
optdepends=('python3-stagger-svn: writing metadata'
	'wget: alternative downloadhandler'
	'aria2: alternative downloadhandler')
makedepends=('git')
provides=('greg')
conflicts=('greg')
source=('git://github.com/manolomartinez/greg.git')
md5sums=('SKIP')


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

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

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