void-packages/srcpkgs/nomad/template
Noel Cower 8c3b78ff25 nomad: update to 0.9.5.
Security release for CVE-2019-14802, CVE-2019-14803.
2019-09-06 19:31:36 +02:00

27 lines
805 B
Bash

# Template file for 'nomad'
pkgname=nomad
version=0.9.5
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
go_build_tags="ui release"
_git_commit=6c4863c5f61b0cdfb609927f6f67e17d90454197
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
hostmakedepends="git"
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
maintainer="iaroki <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.nomadproject.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=f5dcc802cd07756f169c24dda637fe32f8b2cb6c6bb71bb2b3f4d7f3def8223b
patch_args="-Np1"
case "$XBPS_TARGET_MACHINE" in
*-musl) go_build_tags+=" nonvidia" ;;
esac
post_install() {
vlicense LICENSE
vsconf dist/server.hcl
vsconf dist/client.hcl
}