void-packages/srcpkgs/cheat/template

21 lines
646 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=4.4.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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/cheat/cheat"
distfiles="https://github.com/cheat/cheat/archive/refs/tags/${version}.tar.gz"
checksum=8694d75896dcb1dfb91ed95ec37f7fe409ad2bde76e66f80b20be24ee92ae3ec
post_install() {
vman doc/cheat.1
vcompletion scripts/cheat.bash bash cheat
vcompletion scripts/cheat.fish fish cheat
vcompletion scripts/cheat.zsh zsh cheat
vlicense LICENSE.txt
}