void-packages/srcpkgs/castero/template

27 lines
743 B
Bash

# Template file for 'castero'
pkgname=castero
version=0.8.0
revision=1
archs=noarch
build_style=python3-module
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=31b302c436fd732d0af3767ed55c0f7e7698a463da86eba333053c6bd59f51d1
# 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
}