[arch-commits] Commit in nomad-driver-nspawn/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Mon Nov 22 23:19:28 UTC 2021


    Date: Monday, November 22, 2021 @ 23:19:27
  Author: grawlinson
Revision: 1054406

upgpkg: nomad-driver-nspawn 0.8.0-1

* New upstream release.
* Add explicit dependency: glibc.
* Verify go modules in prepare function.
* Increase verbosity of build output.

Modified:
  nomad-driver-nspawn/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 23:08:39 UTC (rev 1054405)
+++ PKGBUILD	2021-11-22 23:19:27 UTC (rev 1054406)
@@ -1,29 +1,35 @@
 # Maintainer: George Rawlinson <grawlinson at archlinux.org>
 
 pkgname=nomad-driver-nspawn
-pkgver=0.7.0
-pkgrel=2
+pkgver=0.8.0
+pkgrel=1
 pkgdesc="A nomad taskdriver for systemd-nspawn"
 arch=('x86_64')
 url="https://github.com/JanMa/nomad-driver-nspawn"
 license=('MIT')
-depends=('nomad' 'systemd')
+depends=('glibc' 'nomad' 'systemd')
 makedepends=('go' 'git')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-b2sums=('ea6ef6848ba680450769a9bd8c1dae316dee4d3904a69365ac254f7489a06daefa71f6728ddddae9f5aef6e1f84c3e5bef26f80e28ee9e82cf6e86402dfbffd7')
+sha512sums=('ca6ca7439c7788b98aa4c01e947bad611f6f2e8386e14a509badf56db768dc5ffad4c960b74b9688f01a38ee636aba395f59aacb404a65f3057bc63b50163016')
+b2sums=('2fa8afb69660169edc7fa2a03332386836aa117b659fdf1aea7d9f4881f915655df441418ec9dee08383ab0fbe9008ccd4e1070cbf1fab0fe39a3b4906f5379c')
 
 prepare() {
 	cd "$pkgname-$pkgver"
+
+  # create directory for build output
   mkdir build
-  go mod vendor
+
+  # verify modules
+  go mod verify
 }
 
 build() {
 	cd "$pkgname-$pkgver"
-  go build \
+
+  go build -v \
     -trimpath \
     -buildmode=pie \
-    -mod=readonly \
+    -mod=vendor \
     -modcacherw \
     -ldflags "-extldflags $LDFLAGS -X "github.com/JanMa/nomad-driver-nspawn/nspawn.pluginVersion=${pkgver}"" \
     -o build \



More information about the arch-commits mailing list