summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c031ed237f9b22c5d7d1095801a3cecd83bbf6f (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
# Maintainer: willemw <willemw12@gmail.com>

_pkgname=castero
pkgname=$_pkgname-git
pkgver=0.4.0.r0.g8a1ac98
pkgrel=1
pkgdesc="Podcast client for the command line"
arch=('any')
url="https://xgi.github.io/castero"
license=('MIT')
depends=('python-cjkwrap' 'python-pympv' 'python-requests' 'python-vlc')
#checkdepends=('python-codecov' 'python-coverage' 'python-pytest')
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::git+https://github.com/xgi/castero.git)
sha256sums=('SKIP')

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

#build() {
#  cd $pkgname
#  python setup.py build
#}

#check() {
#  cd $pkgname
#  python -m pytest tests
#}

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