void-packages/srcpkgs/nomad/template

24 lines
761 B
Bash

# Template file for 'nomad'
pkgname=nomad
version=1.5.6
revision=2
build_style=go
go_import_path="github.com/hashicorp/nomad"
go_build_tags="ui release"
_git_commit=8af70885c02ab921dedbdf6bc406a1e886866f80
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=21bb378584a3f0e3bf3731f89b64658fedf20c829de8eedba9a6773cddfa0c3e
make_dirs="/etc/nomad.d 0755 root root
/var/lib/nomad 0755 root root"
post_install() {
vlicense LICENSE
vsv nomad
}