summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMoritz Poldrack2020-08-14 08:58:44 +0200
committerMoritz Poldrack2020-08-14 08:58:44 +0200
commitd688930eecba755f543c0d69890f2b81c501bf07 (patch)
treec40a05e32b26ecc4dcce1b47e2aafa4bac1eb0fc /PKGBUILD
parenta736eda54448c5abc0188ea9036869eb1a7e8f79 (diff)
downloadaur-d688930eecba755f543c0d69890f2b81c501bf07.tar.gz
added version information to binary
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eeceb778913d..5dc6241682d0 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=got
pkgver=0.1.5
-pkgrel=1
+pkgrel=2
pkgdesc='Simple golang package and CLI tool to download large files faster than cURL and Wget!'
arch=('x86_64' 'arm64')
url="https://github.com/melbahja/$pkgname"
@@ -21,6 +21,7 @@ build() {
-buildmode=pie \
-mod=readonly \
-modcacherw \
+ -ldflags "-X main.version=$pkgver" \
-o got
}