avideo: install fish completion to vendor_completions.d

This commit is contained in:
Piraty 2020-02-25 10:39:40 +01:00 committed by Piraty
parent 5184355496
commit 33881914de

View file

@ -1,16 +1,15 @@
# Template file for 'avideo' # Template file for 'avideo'
pkgname=avideo pkgname=avideo
version=2017.9.27 version=2017.9.27
revision=4 revision=5
archs=noarch archs=noarch
wrksrc="avideo" wrksrc="avideo"
build_style=python3-module build_style=python3-module
pycompile_module="avideo"
hostmakedepends="python3" hostmakedepends="python3"
depends="python3" depends="python3"
short_desc="Libre video and audio downloader for GNU/Linux" short_desc="Libre video and audio downloader for GNU/Linux"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3" license="GPL-3.0-or-later"
homepage="https://notabug.org/GPast/avideo" homepage="https://notabug.org/GPast/avideo"
distfiles="https://notabug.org/GPast/avideo/raw/archive/${version}/avideo-${version}.tar.gz" distfiles="https://notabug.org/GPast/avideo/raw/archive/${version}/avideo-${version}.tar.gz"
checksum=474f9ae5f271d2f838e512cd6d02c631fb15e90b29949a6f8d2b0b13f13777bf checksum=474f9ae5f271d2f838e512cd6d02c631fb15e90b29949a6f8d2b0b13f13777bf
@ -19,5 +18,5 @@ post_install() {
rm -rf ${DESTDIR}/usr/etc rm -rf ${DESTDIR}/usr/etc
vinstall avideo.bash-completion 644 usr/share/bash-completion/completions avideo vinstall avideo.bash-completion 644 usr/share/bash-completion/completions avideo
vinstall avideo.zsh 644 usr/share/zsh/site-functions _avideo vinstall avideo.zsh 644 usr/share/zsh/site-functions _avideo
vinstall avideo.fish 644 usr/share/fish/completions avideo.fish vinstall avideo.fish 644 usr/share/fish/vendor_completions.d
} }