[arch-commits] Commit in nomad-driver-nspawn/repos/community-x86_64 (2 files)

George Rawlinson grawlinson at gemini.archlinux.org
Tue Jun 21 02:24:52 UTC 2022


    Date: Tuesday, June 21, 2022 @ 02:24:51
  Author: grawlinson
Revision: 1238752

archrelease: copy trunk to community-x86_64

Added:
  nomad-driver-nspawn/repos/community-x86_64/PKGBUILD
    (from rev 1238751, nomad-driver-nspawn/trunk/PKGBUILD)
Deleted:
  nomad-driver-nspawn/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-21 02:24:09 UTC (rev 1238751)
+++ PKGBUILD	2022-06-21 02:24:51 UTC (rev 1238752)
@@ -1,58 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=nomad-driver-nspawn
-pkgver=0.9.0
-pkgrel=2
-pkgdesc='A nomad taskdriver for systemd-nspawn'
-arch=('x86_64')
-url='https://github.com/JanMa/nomad-driver-nspawn'
-license=('MIT')
-depends=('glibc' 'nomad' 'systemd')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='0008fa3566ac0f3fc666ca5693bf5fd38d7340ed'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-	cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # verify modules
-  go mod verify
-}
-
-build() {
-	cd "$pkgname"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=vendor \
-    -modcacherw \
-    -ldflags "-extldflags $LDFLAGS -X "github.com/JanMa/nomad-driver-nspawn/nspawn.pluginVersion=${pkgver}"" \
-    -o build \
-    .
-}
-
-package() {
-	cd "$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-  cp -r example "$pkgdir/usr/share/doc/$pkgname"
-
-  # plugin
-  install -vDm755 -t "$pkgdir/usr/lib/nomad/plugins" "build/$pkgname"
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: nomad-driver-nspawn/repos/community-x86_64/PKGBUILD (from rev 1238751, nomad-driver-nspawn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-21 02:24:51 UTC (rev 1238752)
@@ -0,0 +1,58 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=nomad-driver-nspawn
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='A nomad taskdriver for systemd-nspawn'
+arch=('x86_64')
+url='https://github.com/JanMa/nomad-driver-nspawn'
+license=('MIT')
+depends=('glibc' 'nomad' 'systemd')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='4a438f9c20e10930acb273afc09ecb2824093b9a'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+	cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # verify modules
+  go mod verify
+}
+
+build() {
+	cd "$pkgname"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=vendor \
+    -modcacherw \
+    -ldflags "-extldflags $LDFLAGS -X "github.com/JanMa/nomad-driver-nspawn/nspawn.pluginVersion=${pkgver}"" \
+    -o build \
+    .
+}
+
+package() {
+	cd "$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+  cp -r example "$pkgdir/usr/share/doc/$pkgname"
+
+  # plugin
+  install -vDm755 -t "$pkgdir/usr/lib/nomad/plugins" "build/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



More information about the arch-commits mailing list