void-packages/srcpkgs/castero/template

28 lines
770 B
Bash

# Template file for 'castero'
pkgname=castero
version=0.7.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=e3fe50a972617a610f50aae0c10f261513776acc3ac6efe40146ad6cfd237895
# 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
}