summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam2021-08-14 00:09:27 +0000
committerSam2021-08-14 00:09:27 +0000
commitbc377b5642183250a1b2e4180682359b8be77f1f (patch)
tree99dda2933be0df2f8d506cca785976e7d0170c39
parentd443a5bacf3463b1c184e4b6009c2f3f885580a5 (diff)
downloadaur-bc377b5642183250a1b2e4180682359b8be77f1f.tar.gz
updpkg: podman-dnsname-git 1.3.0.r2.g98cd96f-1
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c590274e188b..9089e0c13733 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: samarthj <dev@samarthj.com>
-# shellcheck disable=2034,2154
+# shellcheck disable=2034,2148,2154
pkgname=podman-dnsname-git
_pkgname=podman-dnsname
@@ -32,7 +32,7 @@ build() {
export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
cd $_gitpkgname || exit 1
- make
+ LDFLAGS="-X main.gitCommit=$(git rev-parse HEAD)" make
}
package() {