nomad: update to 0.8.7.
Also removes unneeded do_build and vbin from template.
This commit is contained in:
parent
364c50e5a3
commit
c4988d5224
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nomad'
|
# Template file for 'nomad'
|
||||||
pkgname=nomad
|
pkgname=nomad
|
||||||
version=0.8.6
|
version=0.8.7
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/hashicorp/nomad"
|
go_import_path="github.com/hashicorp/nomad"
|
||||||
|
@ -10,7 +10,7 @@ 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=e69b447dcc2caeb3d5ecf904cf3c8f327a5185a84442ee4241a796d89f96e143
|
checksum=f74eac627de69190e586358b1956573a0ae1a40d0755ecdee163016949f9c7fe
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
@ -22,13 +22,7 @@ pre_build() {
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
: ${go_package:=$go_import_path}
|
|
||||||
go build -o bin/nomad -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin bin/nomad
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vsconf dist/server.hcl
|
vsconf dist/server.hcl
|
||||||
vsconf dist/client.hcl
|
vsconf dist/client.hcl
|
||||||
|
|
Loading…
Reference in New Issue