void-packages/srcpkgs/cheat/template

22 lines
661 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=4.4.2
revision=1
build_style=go
go_import_path="github.com/cheat/cheat"
go_package="./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=6968ffdebb7c2a8390dea45f97884af3c623cda6c2d36c4c04443ed2454da431
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
}