void-packages/srcpkgs/cheat/template

21 lines
646 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=4.3.3
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=6a1739b71d436f45dc7c028ec79863a34e30cc13da7159bf23604b77f43faaf2
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
}