summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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
}