[arch-commits] Commit in hey/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Jun 7 11:54:49 UTC 2020


    Date: Sunday, June 7, 2020 @ 11:54:48
  Author: jelle
Revision: 639939

upgpkg: hey 0.1.3-3

Move from go-pie to go

Modified:
  hey/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-07 11:47:59 UTC (rev 639938)
+++ PKGBUILD	2020-06-07 11:54:48 UTC (rev 639939)
@@ -2,13 +2,13 @@
 
 pkgname=hey
 pkgver=0.1.3
-pkgrel=2
+pkgrel=3
 pkgdesc='HTTP load generator'
 url="https://github.com/rakyll/hey"
 arch=(x86_64)
 license=('GPL')
 depends=('glibc')
-makedepends=('go-pie')
+makedepends=('go')
 source=($pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz)
 sha512sums=('4c2a9ea1797b7345c182c3d80bc55e666e7e66f7e8067fd49fc8fead34756036b126aae7f7a41d6d38014458ad5d5015c6bcd4009b77e35699ce5376aa297b07')
 
@@ -17,8 +17,11 @@
   cd $pkgname-$pkgver
   go build \
     -trimpath \
-    -ldflags "-extldflags ${LDFLAGS}" \
-  .
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-extldflags \"${LDFLAGS}\"" \
+    .
 }
 
 



More information about the arch-commits mailing list