[arch-commits] Commit in hey/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jun 7 11:54:55 UTC 2020
Date: Sunday, June 7, 2020 @ 11:54:54
Author: jelle
Revision: 639940
archrelease: copy trunk to community-x86_64
Added:
hey/repos/community-x86_64/PKGBUILD
(from rev 639939, hey/trunk/PKGBUILD)
Deleted:
hey/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++----------------------------
1 file changed, 31 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-07 11:54:48 UTC (rev 639939)
+++ PKGBUILD 2020-06-07 11:54:54 UTC (rev 639940)
@@ -1,28 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=hey
-pkgver=0.1.3
-pkgrel=2
-pkgdesc='HTTP load generator'
-url="https://github.com/rakyll/hey"
-arch=(x86_64)
-license=('GPL')
-depends=('glibc')
-makedepends=('go-pie')
-source=($pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz)
-sha512sums=('4c2a9ea1797b7345c182c3d80bc55e666e7e66f7e8067fd49fc8fead34756036b126aae7f7a41d6d38014458ad5d5015c6bcd4009b77e35699ce5376aa297b07')
-
-
-build() {
- cd $pkgname-$pkgver
- go build \
- -trimpath \
- -ldflags "-extldflags ${LDFLAGS}" \
- .
-}
-
-
-package() {
- cd $pkgname-$pkgver
- install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
-}
Copied: hey/repos/community-x86_64/PKGBUILD (from rev 639939, hey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-07 11:54:54 UTC (rev 639940)
@@ -0,0 +1,31 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=hey
+pkgver=0.1.3
+pkgrel=3
+pkgdesc='HTTP load generator'
+url="https://github.com/rakyll/hey"
+arch=(x86_64)
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=($pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz)
+sha512sums=('4c2a9ea1797b7345c182c3d80bc55e666e7e66f7e8067fd49fc8fead34756036b126aae7f7a41d6d38014458ad5d5015c6bcd4009b77e35699ce5376aa297b07')
+
+
+build() {
+ cd $pkgname-$pkgver
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-extldflags \"${LDFLAGS}\"" \
+ .
+}
+
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+}
More information about the arch-commits
mailing list