28 lines
821 B
Bash
28 lines
821 B
Bash
# Template file for 'nomad'
|
|
pkgname=nomad
|
|
version=1.1.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/nomad"
|
|
go_build_tags="ui release"
|
|
_git_commit=a480eed0815c54612856d9115a34bb1d1a773e8c
|
|
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=cb9bb49a266b1720e78e6899e48e9dbfadd927d6a356e378980e4e398cfb4c78
|
|
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
|
|
}
|