[arch-commits] Commit in nomad-driver-podman/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Sun Jul 17 08:08:55 UTC 2022
Date: Sunday, July 17, 2022 @ 08:08:54
Author: grawlinson
Revision: 1254280
upgpkg: nomad-driver-podman 0.4.0-1; new upstream release
Modified:
nomad-driver-podman/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-17 08:05:58 UTC (rev 1254279)
+++ PKGBUILD 2022-07-17 08:08:54 UTC (rev 1254280)
@@ -1,8 +1,8 @@
# Maintainer: George Rawlinson <grawlinson at archlinux.org>
pkgname=nomad-driver-podman
-pkgver=0.3.0
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
pkgdesc='A nomad taskdriver for podman containers'
arch=('x86_64')
url='https://github.com/hashicorp/nomad-driver-podman'
@@ -10,7 +10,7 @@
depends=('nomad' 'podman')
makedepends=('git' 'go')
options=('!lto')
-_commit='ec01bb2b87216219da064359ef95dd3f7f226457'
+_commit='50007e0c40702d24c9710a8030a72a875826e743'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
@@ -23,7 +23,11 @@
prepare() {
cd "$pkgname"
+ # create directory for build output
mkdir build
+
+ # download dependencies
+ go mod download
}
build() {
@@ -34,7 +38,7 @@
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+ -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
-o build \
.
}
More information about the arch-commits
mailing list