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

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


    Date: Monday, September 16, 2019 @ 09:13:07
  Author: jelle
Revision: 510863

archrelease: copy trunk to community-x86_64

Added:
  hey/repos/community-x86_64/
  hey/repos/community-x86_64/PKGBUILD
    (from rev 510862, hey/trunk/PKGBUILD)

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

Copied: hey/repos/community-x86_64/PKGBUILD (from rev 510862, hey/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-09-16 09:13:07 UTC (rev 510863)
@@ -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