summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Müller2019-11-08 21:03:20 +0100
committerThorsten Müller2019-11-08 21:03:20 +0100
commit5a2dfde67c6913cf24e976745257452160a4b386 (patch)
tree39ff69b1bc78e3900773ef0b0c74fd0438019e89
downloadaur-5a2dfde67c6913cf24e976745257452160a4b386.tar.gz
new version of sensuctl
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..351f4ad152a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = sensu-agent
+ pkgdesc = Sensu Go Backend
+ pkgver = 5.14.2
+ pkgrel = 1
+ url = https://sensu.io
+ arch = x86_64
+ arch = armv7h
+ license = MIT
+ source = sensu-agent-5.14.2_armv7h.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.14.2/sensu-go_5.14.2_linux_armv7.tar.gz
+ source = sensu-agent-5.14.2_amd64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.14.2/sensu-go_5.14.2_linux_amd64.tar.gz
+ sha256sums = e6e08a4c135e696369c5e855e83cdbc21d3f653b54abdef9a1e75e526f34ad94
+ sha256sums = ebb1e3595b91c0a5a46b456453130f2b1a9c5db31d776f70660513936e54bdde
+
+pkgname = sensu-agent
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bfb15ab846
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: thorko contact@thorko.de
+pkgname=sensu-agent
+pkgver=5.14.2
+pkgrel=1
+pkgdesc="Sensu Go Backend"
+arch=('x86_64' 'armv7h')
+url='https://sensu.io'
+license=('MIT')
+#makedepends=('')
+source=("${pkgname}-${pkgver}_armv7h.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/${pkgver}/sensu-go_${pkgver}_linux_armv7.tar.gz"
+ "${pkgname}-${pkgver}_amd64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/${pkgver}/sensu-go_${pkgver}_linux_amd64.tar.gz"
+ )
+sha256sums=(
+ 'e6e08a4c135e696369c5e855e83cdbc21d3f653b54abdef9a1e75e526f34ad94'
+ 'ebb1e3595b91c0a5a46b456453130f2b1a9c5db31d776f70660513936e54bdde'
+ )
+
+
+# TODO: better build from source
+# build() {}
+package() {
+ install -Dm755 "${srcdir}/sensuctl" "${pkgdir}/usr/bin/sensuctl"
+}
+