20 lines
653 B
Bash
20 lines
653 B
Bash
# Template file for 'cheat'
|
|
pkgname=cheat
|
|
version=3.2.2
|
|
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 <brainwave@openmailbox.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/cheat/cheat"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=9a756b249ae9a9ea7beb2149a57a6556b145075e97c4c90b52ea6492334a5c7e
|
|
|
|
post_install() {
|
|
vinstall scripts/cheat-autocompletion.bash 644 \
|
|
usr/share/bash-completion/completions cheat
|
|
vinstall scripts/cheat-autocompletion.fish 644 \
|
|
usr/share/fish/completions
|
|
vlicense LICENSE.txt
|
|
}
|