void-packages/srcpkgs/upterm/template

22 lines
683 B
Bash

# Template file for 'upterm'
pkgname=upterm
version=0.7.6
revision=1
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=26ceb5eee035d4e1a08240aced75a20f2e54b1e192eef0bf5eb51d0195997f8c
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
}