[arch-commits] Commit in nomad/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Nov 16 21:11:26 UTC 2021
Date: Tuesday, November 16, 2021 @ 21:11:26
Author: grawlinson
Revision: 1048852
upgpkg: nomad 1.2.0-1
* New upstream release.
* Download go modules, rather than vendoring them.
Modified:
nomad/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 21:06:14 UTC (rev 1048851)
+++ PKGBUILD 2021-11-16 21:11:26 UTC (rev 1048852)
@@ -1,7 +1,7 @@
# Maintainer: George Rawlinson <grawlinson at archlinux.org>
pkgname=nomad
-pkgver=1.1.6
+pkgver=1.2.0
pkgrel=1
pkgdesc="A simple and flexible workload orchestrator"
arch=('x86_64')
@@ -26,11 +26,11 @@
'tmpfiles.conf'
'defaults.hcl'
)
-sha512sums=('1e198fcd3559e6d3fc82e4d388a2481fe23c649dc184c7b3e6d05217d97911c0c50112210a3e4f98bc369252df595d9409930989f045c2ecf7512620c31df64b'
+sha512sums=('22a741d83f6d0724e8bfb0fd26f8a5f34e7e8a0e7d340b313c4a8c8abfe9ab627064864822bd544f27e8bfab68967aa20f5ab73e6ca27b29cc7091a8d1f39d18'
'4fe233272e6872cb9ec0c594944a3c701d93ee59952688a4bc45b126442ecf973d23e50b3c4c9c5c62778d0c555ace2e2781955448239249d39fe21d184c8f1b'
'398724820ee6f1ffa7860b8dd0013b671ba97ffb001331a10e7795148e3e6ff711a06f2156187c23b71bfccb13dac70828df5a29d59441706753cc17afd1e3d7'
'9bc9dc93b2683c848e94d5d7a59102ceebd6c4b64f14c85591b9502bc44e3c74589425f1f278ef21407d10c4a9a82abd95e2c748d347d76836bdb741bbff7f7c')
-b2sums=('be2b1c43f7c9284cb50a258655079f108a9374b3cb03d9e120808dfe20e569d4b086ae74a3c743340f59e75a8ad84a1b50e8bbee479e5572fd0cabb72eb60def'
+b2sums=('eb5ed863c14b5755a295452ee23c16722ab89a051c13ba18446fbd65162b533ff363797792f00be801f23a8a7380750e6701efccf72aef6c64fc9be2219b0aa1'
'0f931868e9d7465f3be176ab789b7c7b5a4c35713a82e4d3bb94460254011779d814d4708f4f8cc76ba0dd1928ac7eeda42e01ed43be675a5d26d0b75ba986b9'
'4142a758057382846b48e9bfc443c1218c8fde866544d56c6e773933d67a0824e365280d39864249f355aee6080e0b4b969fd8cc4c5826583821ad1843b07e35'
'abbf4c69d70e03b318f73ef84ccf258e39b25ac956ec68c82bebe277662ddd1677719c3b693c04a8cc38554c562a127aa2ba4061e20e594440d432d729bab3b3')
@@ -42,19 +42,18 @@
mkdir build
# download dependencies
- go mod vendor
+ go mod download
}
build() {
cd "$pkgname-$pkgver"
- # nonvidia: https://github.com/hashicorp/nomad/issues/8330
- local GO_TAGS="ui release nonvidia"
+ local GO_TAGS="ui release"
go build -v \
-buildmode=pie \
-trimpath \
- -mod=vendor \
+ -mod=readonly \
-modcacherw \
-ldflags "-extldflags ${LDFLAGS} -X "main.GitCommit=${pkgver}"" \
-tags "$GO_TAGS" \
More information about the arch-commits
mailing list