void-packages/srcpkgs/cheat/template
2020-03-13 15:08:26 +01:00

18 lines
623 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=3.7.1
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=a24cdd2ab82da6115d0daeeeabedb933f9e40ab48ffeec712f442dba945ed856
post_install() {
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
}