void-packages/srcpkgs/nomad/template

24 lines
761 B
Bash

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