blob: 166a7ddc272b72886bdd9769beca99dd010c14cb (
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
|
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Maintainer: Luna Jernberg <droidbittin@gmail.com>
# Contributor: willemw <willemw12@gmail.com>
pkgname='castero'
pkgver=0.9.5
pkgrel=1
pkgdesc='TUI podcast client for the terminal'
arch=('any')
url='https://github.com/xgi/castero'
_url_pypi='https://pypi.org/project/castero'
license=('MIT')
depends=('python-beautifulsoup4'
'python-cjkwrap'
'python-pytz'
'python-grequests'
'python-lxml'
'python-mpv'
'python-vlc')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('0615e8809e66e51f87a7e4e7e8ce3ab5542e7fdd68b22df31ec2cdd5f8e103a9')
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dvm644 'LICENSE.txt' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et:
|