void-packages/srcpkgs/upterm/template

22 lines
683 B
Bash

# Template file for 'upterm'
pkgname=upterm
version=0.9.0
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=1da4adcf80efff58ee8caadf402f86b4eead4bcc2783a76eb58a6b7b8b685f45
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
}