Date: Wednesday, November 24, 2021 @ 02:35:41
  Author: alerque
Revision: 1054535

upgpkg: age 1.0.0-4; build version number into binary

Modified:
  age/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-11-24 02:33:33 UTC (rev 1054534)
+++ PKGBUILD    2021-11-24 02:35:41 UTC (rev 1054535)
@@ -4,7 +4,7 @@
 
 pkgname=age
 pkgver=1.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc='A simple, modern and secure file encryption tool'
 arch=('x86_64')
 url="https://github.com/FiloSottile/$pkgname";
@@ -21,7 +21,7 @@
       -buildmode=pie \
       -mod=readonly \
       -modcacherw \
-      -ldflags "-linkmode external -extldflags \"$LDFLAGS\"" \
+      -ldflags "-X main.Version=$pkgver -linkmode external -extldflags 
\"$LDFLAGS\"" \
       -o . ./...
 }
 

Reply via email to