diff --git a/srcpkgs/castero/template b/srcpkgs/castero/template new file mode 100644 index 00000000000..5465bc1d8c9 --- /dev/null +++ b/srcpkgs/castero/template @@ -0,0 +1,27 @@ +# 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 " +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 +}