void-packages/srcpkgs/nomad/template
2021-06-10 00:10:40 -07:00

25 lines
773 B
Bash

# Template file for 'nomad'
pkgname=nomad
version=1.1.1
revision=1
build_style=go
go_import_path="github.com/hashicorp/nomad"
go_build_tags="ui release"
_git_commit=a6fab0f1df962b9224adcf05c886c6ae59d52192
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=441d2f50a29568451cb16301a2208c9b744a480ded8c624e789983ee42ed3ea9
patch_args="-Np1"
case "$XBPS_TARGET_MACHINE" in
*-musl) go_build_tags+=" nonvidia" ;;
esac
post_install() {
vlicense LICENSE
}