25 lines
791 B
Bash
25 lines
791 B
Bash
# Template file for 'nomad'
|
|
pkgname=nomad
|
|
version=1.8.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/nomad"
|
|
go_build_tags="ui release"
|
|
_git_commit=5022543e4b7b8dcec9df123f86630ae3fdcffbe6
|
|
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
|
|
depends="cni-plugins dmidecode"
|
|
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="BUSL-1.1"
|
|
homepage="https://www.nomadproject.io/"
|
|
distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz"
|
|
checksum=4e6c3b97030c0d836180fa636d7c401adac43c0ac0322fd18e4033c679b9b4bb
|
|
make_dirs="/etc/nomad.d 0755 root root
|
|
/var/lib/nomad 0755 root root"
|
|
repository=nonfree
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv nomad
|
|
}
|