summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Ray Mahardhika2020-07-02 11:05:31 +0700
committerMario Ray Mahardhika2020-07-02 11:05:31 +0700
commit9abd5c838ccc456c71a77ba6e5715c90e2ad4601 (patch)
treeae556ab3fb813d44d284a015cd68eda504d06eb6
downloadaur-9abd5c838ccc456c71a77ba6e5715c90e2ad4601.tar.gz
Initial revision, version 0.26.2
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ca3dea3f0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = k6-bin
+ pkgdesc = A modern load testing tool, using Go and JavaScript (precompiled)
+ pkgver = 0.26.2
+ pkgrel = 1
+ url = https://github.com/loadimpact/k6
+ arch = i686
+ arch = x86_64
+ license = AGPL3
+ provides = k6=0.26.2
+ options = !emptydirs
+ source_i686 = k6.tar.gz::https://github.com/loadimpact/k6/releases/download/v0.26.2/k6-v0.26.2-linux32.tar.gz
+ sha256sums_i686 = 1433416aa4db37900705263a7987213ba8a3cca41c09e37300422c3f37a5cced
+ source_x86_64 = k6.tar.gz::https://github.com/loadimpact/k6/releases/download/v0.26.2/k6-v0.26.2-linux64.tar.gz
+ sha256sums_x86_64 = db7c009aa09c7cf990759191d550a268f5e644c7135e38bae7d7ba395ff38f59
+
+pkgname = k6-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..336d3dcc7d9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Mario Ray Mahardhika <leledumbo_cool@yahoo.co.id>
+pkgname=k6-bin
+pkgver=0.26.2
+pkgrel=1
+pkgdesc="A modern load testing tool, using Go and JavaScript (precompiled)"
+provides=('k6=0.26.2')
+arch=('i686' 'x86_64')
+url="https://github.com/loadimpact/k6"
+license=('AGPL3')
+options=(!emptydirs)
+source_i686=("k6.tar.gz::https://github.com/loadimpact/k6/releases/download/v${pkgver}/k6-v${pkgver}-linux32.tar.gz")
+source_x86_64=("k6.tar.gz::https://github.com/loadimpact/k6/releases/download/v${pkgver}/k6-v${pkgver}-linux64.tar.gz")
+sha256sums_i686=('1433416aa4db37900705263a7987213ba8a3cca41c09e37300422c3f37a5cced')
+sha256sums_x86_64=('db7c009aa09c7cf990759191d550a268f5e644c7135e38bae7d7ba395ff38f59')
+
+package() {
+ if [ "$CARCH" == "x86_64" ]
+ then
+ bitness=64
+ else
+ bitness=32
+ fi
+ install -D $srcdir/k6-v${pkgver}-linux${bitness}/k6 $pkgdir/usr/bin/k6
+}