mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
nomad: update to 0.9.1.
- Remove asset build. Not needed anymore since these are in the source archives. - Make template more similar to consul since these are often paired. - Add missing release tag.
This commit is contained in:
parent
35937b94ef
commit
b950c6be92
1 changed files with 7 additions and 12 deletions
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'nomad'
|
# Template file for 'nomad'
|
||||||
pkgname=nomad
|
pkgname=nomad
|
||||||
version=0.9.0
|
version=0.9.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/hashicorp/nomad"
|
go_import_path="github.com/hashicorp/${pkgname}"
|
||||||
go_build_tags="ui"
|
go_build_tags="ui release"
|
||||||
_git_commit=28e768721992df5097203eea6e2b247abd56ca6f
|
_git_commit=23c4597dbb6d1d46e020301b0f63db5cff80d3f0
|
||||||
go_ldflags="-X github.com/hashicorp/nomad/version.GitCommit=${_git_commit}"
|
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
|
||||||
hostmakedepends="git nodejs-lts python yarn"
|
hostmakedepends="git"
|
||||||
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
|
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
|
||||||
maintainer="iaroki <iaroki@protonmail.com>"
|
maintainer="iaroki <iaroki@protonmail.com>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
homepage="https://www.nomadproject.io/"
|
homepage="https://www.nomadproject.io/"
|
||||||
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
||||||
checksum=fb6a0afd6895540dd5e18c878421c39e2a2759e90af8eb771c84802d082475df
|
checksum=19da9f2bcc4c521b777a7889ed2c1a28182d2048e134a56099ff54e9fb6c2347
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
case "$XBPS_MACHINE" in
|
||||||
|
@ -24,11 +24,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) go_build_tags+=" nonvidia" ;;
|
*-musl) go_build_tags+=" nonvidia" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
local depbin="${wrksrc}/_build-depbin"
|
|
||||||
GOOS= GOARCH= CGO_ENABLED=0 PATH="$depbin:$PATH" GOBIN="$depbin" make deps ember-dist static-assets
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vsconf dist/server.hcl
|
vsconf dist/server.hcl
|
||||||
|
|
Loading…
Add table
Reference in a new issue