# Template file for 'nomad'
pkgname=nomad
version=1.5.1
revision=1
build_style=go
go_import_path="github.com/hashicorp/nomad"
go_build_tags="ui release"
_git_commit=6c118ddaf95e9bfd3d85f488f255fdc5e14129c7
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
depends="cni-plugins"
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.nomadproject.io/"
distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz"
checksum=d1df280e400149e9bd41ee5e952201a06a2c8ab86554edc4d8d0f33fd2498e2f
make_dirs="/etc/nomad.d 0755 root root
 /var/lib/nomad 0755 root root"

post_install() {
	vlicense LICENSE
	vsv nomad
}
