From 392ca100f106edaf5c471125a4d84a3acfe804b8 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 27 Nov 2019 21:10:11 -0600 Subject: [PATCH] New package: castero-0.6.0 Closes #14857 Signed-off-by: Nathan Owens --- srcpkgs/castero/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/castero/template 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 +}