void-packages/srcpkgs/upterm/template

22 lines
684 B
Bash

# Template file for 'upterm'
pkgname=upterm
version=0.10.0
revision=4
build_style=go
go_import_path="github.com/owenthereal/upterm"
go_package="${go_import_path}/cmd/upterm"
short_desc="Secure Terminal Sharing"
maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>"
license="Apache-2.0"
homepage="https://github.com/owenthereal/upterm/"
distfiles="https://github.com/owenthereal/upterm/archive/refs/tags/v$version.tar.gz"
checksum=05409ae3a124d611221f64e87016d67cfd2d3a125fcfec95abb9a123acd9d1a2
post_install() {
vcompletion etc/completion/upterm.zsh_completion zsh
vcompletion etc/completion/upterm.bash_completion.sh bash
for man in etc/man/man1/*.1; do
vman "${man}"
done
}