summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian2019-07-01 18:17:16 +0200
committerSebastian2019-07-01 18:17:16 +0200
commit24d819e2c46e7ee3037ca449a99e94cce1aa7bf7 (patch)
treebffeaef3f9bf28763715e0a6c527d123d1a5a861
downloadaur-24d819e2c46e7ee3037ca449a99e94cce1aa7bf7.tar.gz
intial version of openwhisk cli wsk
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD18
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..383ea2f08fee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = wsk-git
+ pkgdesc = pache OpenWhisk Command Line Interface (CLI) https://openwhisk.apache.org/
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = https://github.com/apache/incubator-openwhisk-cli
+ arch = i686
+ arch = x86_64
+ license = Apache
+ conflicts = wsk-git
+ replaces = wsk-git
+ source = wsk-git-src.tar.gz::https://github.com/apache/incubator-openwhisk-cli/releases/download/0.10.0-incubating/OpenWhisk_CLI-0.10.0-incubating-linux-386.tgz
+ md5sums = SKIP
+
+pkgname = wsk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..691981dcb0bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Sebastian Werner
+pkgname=wsk-git
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="pache OpenWhisk Command Line Interface (CLI) https://openwhisk.apache.org/"
+arch=('i686' 'x86_64')
+url="https://github.com/apache/incubator-openwhisk-cli"
+license=('Apache')
+replaces=('wsk-git')
+conflicts=('wsk-git')
+source=($pkgname-src.tar.gz::https://github.com/apache/incubator-openwhisk-cli/releases/download/0.10.0-incubating/OpenWhisk_CLI-0.10.0-incubating-linux-386.tgz)
+
+md5sums=('SKIP')
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ mv ./wsk "$pkgdir/usr/bin/wsk"
+}