void-packages/srcpkgs/cheat/template
2020-02-16 19:09:41 +01:00

20 lines
622 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=3.6.0
revision=1
build_style=go
go_import_path="github.com/cheat/cheat/cmd/cheat"
short_desc="Create and view interactive cheatsheets on the command-line"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="MIT"
homepage="https://github.com/cheat/cheat"
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
vlicense LICENSE.txt
}