summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Haß2019-08-19 18:30:12 +0200
committerDaniel2019-08-19 18:35:06 +0200
commitdc9fc7505af334fbc365663cce90418be0fb302d (patch)
tree4995d326dcdaa362cdda0cf11868003066a51dd5
downloadaur-dc9fc7505af334fbc365663cce90418be0fb302d.tar.gz
released inital package with verison v0.9.2
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..33b4742793d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = openfaas-cli-bin
+ pkgdesc = Official CLI for OpenFaaS
+ pkgver = 0.9.2
+ pkgrel = 1
+ url = https://github.com/openfaas/faas-cli
+ arch = x86_64
+ license = MIT
+ conflicts = openfaas-cli
+ source = https://github.com/openfaas/faas-cli/releases/download/0.9.2/faas-cli
+ sha256sums = e757f76453742e9260a24e46fbb1ee2c2cd736a48be35b3b1bdd0f30c8061491
+
+pkgname = openfaas-cli-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7b5b3dd15a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Daniel Haß <aur@hass.onl>
+_pkgname=faas-cli
+pkgname=openfaas-cli-bin
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Official CLI for OpenFaaS"
+arch=('x86_64')
+url="https://github.com/openfaas/faas-cli"
+license=('MIT')
+conflicts=('openfaas-cli')
+source=("https://github.com/openfaas/faas-cli/releases/download/${pkgver}/${_pkgname}")
+sha256sums=("e757f76453742e9260a24e46fbb1ee2c2cd736a48be35b3b1bdd0f30c8061491")
+
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ install -Dm755 $srcdir/${_pkgname} $pkgdir/usr/bin/faas-cli
+}