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

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jul 17 08:09:44 UTC 2022


    Date: Sunday, July 17, 2022 @ 08:09:44
  Author: grawlinson
Revision: 1254281

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 57 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-17 08:08:54 UTC (rev 1254280)
+++ PKGBUILD	2022-07-17 08:09:44 UTC (rev 1254281)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=nomad-driver-podman
-pkgver=0.3.0
-pkgrel=2
-pkgdesc='A nomad taskdriver for podman containers'
-arch=('x86_64')
-url='https://github.com/hashicorp/nomad-driver-podman'
-license=('MPL2')
-depends=('nomad' 'podman')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='ec01bb2b87216219da064359ef95dd3f7f226457'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-	cd "$pkgname"
-
-  mkdir build
-}
-
-build() {
-	cd "$pkgname"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    -o build \
-    .
-}
-
-package() {
-	cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/lib/nomad/plugins" "build/$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-  cp -vr examples "$pkgdir/usr/share/doc/$pkgname"
-  # note: examples/plugins is an empty folder
-  rm -rf "$pkgdir/usr/share/doc/$pkgname/examples/plugins"
-}

Copied: nomad-driver-podman/repos/community-x86_64/PKGBUILD (from rev 1254280, nomad-driver-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-17 08:09:44 UTC (rev 1254281)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=nomad-driver-podman
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='A nomad taskdriver for podman containers'
+arch=('x86_64')
+url='https://github.com/hashicorp/nomad-driver-podman'
+license=('MPL2')
+depends=('nomad' 'podman')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='50007e0c40702d24c9710a8030a72a875826e743'
+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
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+	cd "$pkgname"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
+    -o build \
+    .
+}
+
+package() {
+	cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/lib/nomad/plugins" "build/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+  cp -vr examples "$pkgdir/usr/share/doc/$pkgname"
+  # note: examples/plugins is an empty folder
+  rm -rf "$pkgdir/usr/share/doc/$pkgname/examples/plugins"
+}



More information about the arch-commits mailing list