void-packages/srcpkgs/castero/template

26 lines
763 B
Bash

# Template file for 'castero'
pkgname=castero
version=0.8.2
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-BeautifulSoup4 python3-cjkwrap python3-gevent
python3-grequests 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=2dd0f33965e8d5908b3ad04660d810add538b579e9aa75c7237855a8193daf8e
# 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
}