summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 238c72b4180687059698c1b61c2df90ba4309b47 (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
# $Id$
# Maintainer: Muges <git@muges.fr>

pkgname=erika-git
pkgver=v0.1.1
pkgrel=1
pkgdesc="A GTK+ podcast manager"
arch=('any')
license=('MIT')
url="https://github.com/Muges/erika"
depends=('gtk3' 'python-gobject' 'python-feedparser' 'python-lxml'
         'python-mutagen' 'python-mygpoclient' 'python-peewee' 'python-pillow'
         'python-requests' 'gst-plugins-base' 'gst-plugins-good'
         'gst-plugins-ugly' 'webkitgtk')
source=(${pkgname}::git+https://github.com/Muges/erika.git)
sha1sums=('SKIP')

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

build() {
  cd "${srcdir}/${pkgname}"
  python3 setup.py build
}

package() {
  cd "${srcdir}/${pkgname}"
  python3 setup.py install --root="${pkgdir}" --skip-build --optimize=1
}