summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Haß2019-08-19 18:30:12 +0200
committerDaniel2019-08-19 18:35:06 +0200
commitdc9fc7505af334fbc365663cce90418be0fb302d (patch)
tree4995d326dcdaa362cdda0cf11868003066a51dd5 /PKGBUILD
downloadaur-dc9fc7505af334fbc365663cce90418be0fb302d.tar.gz
released inital package with verison v0.9.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
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
+}