summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Langlois2020-08-10 19:37:07 -0600
committerTyler Langlois2020-08-10 19:37:07 -0600
commit87646cd07f80496467bb94f54666ab41a06b0dbc (patch)
tree477a1f939a251c6755bd6598347461081d2d910c
parent2c50fdeb1a3e87d57144d880ce0add46602f1ae3 (diff)
downloadaur-87646cd07f80496467bb94f54666ab41a06b0dbc.tar.gz
Version bump to 0.12.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e80af39ff1b..5f9f38b9347 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nomad
pkgdesc = A Distributed, Highly Available, Datacenter-Aware Scheduler
- pkgver = 0.11.3
+ pkgver = 0.12.1
pkgrel = 1
url = https://nomadproject.io/
arch = x86_64
@@ -16,12 +16,12 @@ pkgbase = nomad
optdepends = rkt: enables rkt driver
backup = etc/nomad/server.conf
backup = etc/nomad/client.conf
- source = https://github.com/hashicorp/nomad/archive/v0.11.3/nomad-0.11.3.tar.gz
+ source = https://github.com/hashicorp/nomad/archive/v0.12.1/nomad-0.12.1.tar.gz
source = nomad-server.service
source = nomad-server.conf
source = nomad-client.service
source = nomad-client.conf
- sha256sums = 4ac797fd87a9e24a99e45a5dae91dd1064ab90a9da180ee2d0914a6ded4d3272
+ sha256sums = 02f7b2319d5ab7bab644f51de1c248e534498aefe50bf26291a888a99d993359
sha256sums = 52b0a22c3c0c72c642a8728cb48bd8797f4f6a12990e11bbb2342edcc2a9a206
sha256sums = da475bc4aa3b1493eb62f09e7f99dcc171e8ce6d74df3da30514cfdfe72a5714
sha256sums = 4c8fb7c18c67ca20e3ee07f25cf2f0c82b66c4c173275ae8d643c91cce3c0ceb
diff --git a/PKGBUILD b/PKGBUILD
index 1f76a9fb279..98dfcaae047 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Co-maintainer: Tyler Langlois <ty |at| tjll |dot| net>
pkgname=nomad
-pkgver=0.11.3
+pkgver=0.12.1
pkgrel=1
pkgdesc="A Distributed, Highly Available, Datacenter-Aware Scheduler"
arch=('x86_64' 'aarch64' 'armv7h' 'armv7l')
@@ -17,7 +17,7 @@ optdepends=('docker: enables docker driver'
backup=(etc/nomad/{server,client}.conf)
source=(https://github.com/hashicorp/nomad/archive/v$pkgver/$pkgname-$pkgver.tar.gz
nomad-{server,client}.{service,conf})
-sha256sums=('4ac797fd87a9e24a99e45a5dae91dd1064ab90a9da180ee2d0914a6ded4d3272'
+sha256sums=('02f7b2319d5ab7bab644f51de1c248e534498aefe50bf26291a888a99d993359'
'52b0a22c3c0c72c642a8728cb48bd8797f4f6a12990e11bbb2342edcc2a9a206'
'da475bc4aa3b1493eb62f09e7f99dcc171e8ce6d74df3da30514cfdfe72a5714'
'4c8fb7c18c67ca20e3ee07f25cf2f0c82b66c4c173275ae8d643c91cce3c0ceb'
@@ -33,8 +33,6 @@ prepare() {
export GOPATH="$srcdir"
export PATH="$GOPATH/bin:$PATH"
- go get golang.org/x/sys/cpu
-
make deps lint-deps
mkdir -p bin
}
@@ -45,8 +43,9 @@ build() {
export PATH="$GOPATH/bin:$PATH"
CGO_ENABLED=1 \
- go build -ldflags '-X main.GitCommit=""' \
- -tags "ui lxc" \
+ go build -trimpath \
+ -ldflags '-X main.GitCommit=""' \
+ -tags "ui release" \
-o bin/nomad
}