void-packages/srcpkgs/cheat/template

20 lines
581 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=4.2.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=23c3c30fe1ad63916718eef534dcef22c0ae607695f74860180304c5cde3ea49
post_install() {
vman doc/cheat.1
vcompletion scripts/cheat.bash bash cheat
vcompletion scripts/cheat.fish fish cheat
vlicense LICENSE.txt
}