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

George Rawlinson grawlinson at archlinux.org
Wed Jun 23 08:51:43 UTC 2021


    Date: Wednesday, June 23, 2021 @ 08:51:42
  Author: grawlinson
Revision: 967035

archrelease: copy trunk to community-testing-x86_64

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

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 43 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-23 08:48:13 UTC (rev 967034)
+++ PKGBUILD	2021-06-23 08:51:42 UTC (rev 967035)
@@ -1,35 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=nomad-driver-podman
-pkgver=0.2.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' 'glibc' 'podman')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-b2sums=('5a1c53248cc0cc08579d308260f6a34ea6f40c68b60a2c902938f13d6bccd21409e6cb040286bbb29d3c1668f21eedaf29cc782901971cf803e89d445da9fa25')
-
-prepare() {
-	cd "$pkgname-$pkgver"
-  mkdir build
-}
-
-build() {
-	cd "$pkgname-$pkgver"
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    -o build \
-    .
-}
-
-package() {
-	cd "$pkgname-$pkgver"
-  install -vDm755 -t "$pkgdir/usr/lib/nomad/plugins" "build/$pkgname"
-}

Copied: nomad-driver-podman/repos/community-testing-x86_64/PKGBUILD (from rev 967034, nomad-driver-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-23 08:51:42 UTC (rev 967035)
@@ -0,0 +1,43 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=nomad-driver-podman
+pkgver=0.3.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=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+b2sums=('e92493a5aac53ccc0c443d2b94737177ff30cd7d562d5e38262fe2d531776d0464e34a445c4b4093c3b3d2e3616daa0629778848ffa5d27412a54c06ce026030')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+  mkdir build
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+    -o build \
+    .
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+
+  # 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