Date: Sunday, April 2, 2023 @ 11:47:19
Author: foxboron
Revision: 1433577
archrelease: copy trunk to community-x86_64
Added:
nomad-driver-podman/repos/community-x86_64/PKGBUILD
(from rev 1433576, nomad-driver-podman/trunk/PKGBUILD)
Deleted:
nomad-driver-podman/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-02 11:47:11 UTC (rev 1433576)
+++ PKGBUILD 2023-04-02 11:47:19 UTC (rev 1433577)
@@ -1,57 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=nomad-driver-podman
-pkgver=0.4.1
-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='3f8a8c03d26afe73388546b6235152224bafd6c1'
-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"
-}
Copied: nomad-driver-podman/repos/community-x86_64/PKGBUILD (from rev 1433576,
nomad-driver-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-02 11:47:19 UTC (rev 1433577)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=nomad-driver-podman
+pkgver=0.4.2
+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=fa9030e05b0eff8a7bf488c58b37401c749aede6 #refs/tags/v0.4.2
+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"
+}