28 lines
770 B
Bash
28 lines
770 B
Bash
|
# Template file for 'castero'
|
||
|
pkgname=castero
|
||
|
version=0.6.0
|
||
|
revision=1
|
||
|
archs=noarch
|
||
|
build_style=python3-module
|
||
|
pycompile_module="castero"
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
depends="python3-BeautifulSoup4 python3-cjkwrap
|
||
|
python3-mpv python3-requests"
|
||
|
short_desc="TUI podcast client for the terminal"
|
||
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/xgi/castero"
|
||
|
distfiles="https://github.com/xgi/castero/archive/v${version}.tar.gz"
|
||
|
checksum=38d11d679ab4ec02e582759535bd19fa99c256ac97ed076e604bf2bffdd648d8
|
||
|
|
||
|
# Remove requirement of python3-vlc
|
||
|
# as we can use python3-mpv instead,
|
||
|
# also because python*-vlc is not in repo
|
||
|
pre_build() {
|
||
|
vsed -e '/python-vlc/d' -i setup.py
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE.txt LICENSE
|
||
|
}
|