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

Jelle van der Waa jelle at archlinux.org
Mon Sep 16 08:53:28 UTC 2019


    Date: Monday, September 16, 2019 @ 08:53:28
  Author: jelle
Revision: 510862

hey: initial commit

Added:
  hey/
  hey/repos/
  hey/trunk/
  hey/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Added: hey/trunk/PKGBUILD
===================================================================
--- hey/trunk/PKGBUILD	                        (rev 0)
+++ hey/trunk/PKGBUILD	2019-09-16 08:53:28 UTC (rev 510862)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=hey
+pkgver=0.1.2
+pkgrel=1
+pkgdesc='HTTP load generator'
+url="https://github.com/rakyll/hey"
+arch=(x86_64)
+license=('GPL')
+makedepends=('go-pie')
+source=($pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz)
+sha512sums=('21b7b2ddee84c2dd144a7bca44ea2c24dcfe5a6e41f8ad388a1099ec42b83789748906c2d405b774aefbdffd5cb90e045219f6ee39a9837adef5b57c5f0b2e3a')
+
+
+build() {
+  cd $pkgname-$pkgver
+  go build \
+    -trimpath \
+    -ldflags "-extldflags ${LDFLAGS}" \
+  .
+}
+
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+}


More information about the arch-commits mailing list