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

pkgname=castero-git
pkgver=0.8.0.r45.g29f42b1
pkgrel=1
pkgdesc="Podcast client for the command line"
arch=('any')
url="https://github.com/xgi/castero"
license=('MIT')
depends=('python-beautifulsoup4' 'python-cjkwrap' 'python-grequests' 'python-lxml' 'python-mpv' 'python-requests' 'python-vlc')
#checkdepends=('python-codacy-coverage' 'python-coverage' 'python-pytest')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
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
}