diff options
author | Dasith Gunawardhana | 2019-05-17 13:57:36 -0700 |
---|---|---|
committer | Dasith Gunawardhana | 2019-05-17 13:57:36 -0700 |
commit | dd8caab7e54d17cc7883dc8492d18077f4deb244 (patch) | |
tree | ab2e26e1698d2bc13cf2b30b4fd1f4c97e9af111 /PKGBUILD | |
parent | 3f3b2f9e586d42bc05aacf5bf915be581098ebca (diff) | |
download | aur-nomad-git.tar.gz |
remove extra exports
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ _pkgname=nomad pkgname=${_pkgname}-git -pkgver=v0.9.0_451_g9b6e5c1fd +pkgver=v0.9.0_553_ge8a2fdba9 pkgrel=1 pkgdesc="Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations." arch=('x86_64') @@ -24,24 +24,24 @@ prepare() { mkdir -p gopath/src/github.com/hashicorp ln -rTsf ${_pkgname} gopath/src/github.com/hashicorp/${_pkgname} export GOPATH="$srcdir"/gopath + export PATH="$PATH:$GOPATH/bin" cd gopath/src/github.com/hashicorp/${_pkgname} make bootstrap } build() { - export GOPATH="$srcdir"/gopath export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-znow" cd gopath/src/github.com/hashicorp/${_pkgname} make dev + + unset GOFLAGS } # check() { -# export GOPATH="$srcdir"/gopath - # cd gopath/src/github.com/hashicorp/${_pkgname} -# make test +# make test-nomad # } package() { |