void-packages/srcpkgs/nomad/template

21 lines
679 B
Bash

# Template file for 'nomad'
pkgname=nomad
version=1.2.3
revision=2
build_style=go
go_import_path="github.com/hashicorp/nomad"
go_build_tags="ui release"
_git_commit=55e5c49b99a6fd2bf925e7fd98d95829776c331f
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
hostmakedepends="git"
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=36e074f34091043a2b5d115496f371fb9df048134f402bb5943e17bcb2f911ff
post_install() {
vlicense LICENSE
}