void-packages/srcpkgs/cheat/template
2020-05-18 13:21:30 +02:00

19 lines
642 B
Bash

# Template file for 'cheat'
pkgname=cheat
version=3.10.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=e87c5352e74d7644f9138e7a56f00872ce73ec1e57dbdc6836a05fee939236d6
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
}