diff --git a/srcpkgs/ytcc/template b/srcpkgs/ytcc/template new file mode 100644 index 00000000000..2784185407b --- /dev/null +++ b/srcpkgs/ytcc/template @@ -0,0 +1,21 @@ +# Template file for 'ytcc' +pkgname=ytcc +version=1.6.1 +revision=1 +build_style=python3-module +pycompile_module="ytcc" +hostmakedepends="python-setuptools python3-setuptools python-pathlib" +depends="python3-lxml python3-feedparser python3-dateutil python3-youtube-dl" +short_desc="Cmdline tool to track your youtube channels" +maintainer="maxice8 " +license="GPL-3.0-or-later" +homepage="https://github.com/woefe/ytcc" +distfiles="https://github.com/woefe/ytcc/archive/v${version}.tar.gz" +checksum=eeedd49a7c547bf809efb756a536ee3ac5592978a67ce0e6ec9c995cf8d15af3 +noarch=yes + +post_install() { + vinstall completions/fish/ytcc.fish 0644 usr/share/fish/completions + vinstall completions/zsh/_ytcc 0644 usr/share/zsh/site-functions +} +