void-packages/srcpkgs/wander/template

24 lines
715 B
Bash

# Template file for 'wander'
pkgname=wander
version=0.14.1
revision=2
build_style=go
build_helper="qemu"
go_import_path="github.com/robinovitch61/wander"
go_ldflags="-X ${go_import_path}/cmd.Version=v${version}"
short_desc="Terminal application for HashiCorp Nomad"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT"
homepage="https://github.com/robinovitch61/wander"
distfiles="https://github.com/robinovitch61/wander/archive/refs/tags/v${version}.tar.gz"
checksum=c3a828b7ef81f426fbabe8dca033418e4b50ffb220cf7e8d043199297bf8b184
post_install() {
for sh in fish bash zsh; do
vtargetrun "${DESTDIR}"/usr/bin/wander completion $sh > wander.$sh
vcompletion wander.$sh $sh
done
vlicense LICENSE
}