# Template file for 'wander'
pkgname=wander
version=1.1.0
revision=1
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=59a939205c133e3d4514dd958581b25b24ad83d72cc911d1a8b912423970cac0

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
}
