# Template file for 'wander'
pkgname=wander
version=0.11.1
revision=1
build_style=go
build_helper="qemu"
go_import_path="github.com/robinovitch61/wander"
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=84d543cdec93d2b6e23af85a27c9ccdde2c692d50ee738d902f24888c7456bf1

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
}
