summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWiRight2020-11-20 08:38:48 +0300
committerWiRight2020-11-20 08:38:48 +0300
commite3878532c88ccb63d34d6f86c04f764e80724732 (patch)
tree014053a763443c4d7f38304bdf85748b753e6b08 /PKGBUILD
parentad259eb507c4989a583dacd336b8d3e426452421 (diff)
downloadaur-e3878532c88ccb63d34d6f86c04f764e80724732.tar.gz
Add provision flags to Go compiller (decrease bin size)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1b484e7e1b8..4115f0a94ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=drpc
pkgver=1.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="JsonRPC cli client. Small and faster"
arch=('x86_64')
url="https://github.com/DizoftTeam/dron"
@@ -14,7 +14,7 @@ md5sums=('bf8c66a82734d77d917357662f106ea9')
build() {
cd "$pkgname-$pkgver"
- go build -o drpc ./main.go
+ go build -ldflags "-s -w" -o drpc ./main.go
}
package() {