void-packages/srcpkgs/cheat/template

20 lines
641 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=4.1.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=b392c3a77eda61f4b1f0991cb30c6202f74472713293e73f645fb697665ca72c
post_install() {
vman doc/cheat.1
vinstall scripts/cheat.bash 644 usr/share/bash-completion/completions cheat
vinstall scripts/cheat.fish 644 usr/share/fish/vendor_completions.d
vlicense LICENSE.txt
}