summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b9d1e61a7b42cd50e9dca4d0be97a8d69bec7b0 (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.5.3.r11.gd06eed7
pkgrel=1
pkgdesc="Podcast client for the command line"
arch=('any')
url="https://xgi.github.io/castero"
license=('MIT')
depends=('python-beautifulsoup4' 'python-cjkwrap' 'python-mpv' 'python-requests' 'python-vlc')
#checkdepends=('python-codacy-coverage' '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
}