cheat: install fish completion to vendor_completions.d

This commit is contained in:
Piraty 2020-02-25 11:34:34 +01:00 committed by Piraty
parent 7290c0ec5c
commit 1f5da340e7

View file

@ -1,7 +1,7 @@
# Template file for 'cheat'
pkgname=cheat
version=3.6.0
revision=1
revision=2
build_style=go
go_import_path="github.com/cheat/cheat/cmd/cheat"
short_desc="Create and view interactive cheatsheets on the command-line"
@ -12,9 +12,7 @@ distfiles="${homepage}/archive/${version}.tar.gz"
checksum=8441c94d12b6a6f088818c8cabd91f75bc583bee3c66dac7a53851ae1032862f
post_install() {
vinstall scripts/cheat.bash 644 \
usr/share/bash-completion/completions cheat
vinstall scripts/cheat.fish 644 \
usr/share/fish/completions
vinstall scripts/cheat.bash 644 usr/share/bash-completion/completions cheat
vinstall scripts/cheat.fish 644 usr/share/fish/vendor_completions.d
vlicense LICENSE.txt
}