summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Clayfield2019-12-19 14:10:20 +0800
committerMichael Clayfield2019-12-19 14:10:20 +0800
commit52cd09090f431733b0ab6bfee34292b360c5f047 (patch)
tree279ef1b36ac38f27095b8820214194c61a01c15f
downloadaur-52cd09090f431733b0ab6bfee34292b360c5f047.tar.gz
initial commit
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD15
2 files changed, 27 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2acbddada32
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = alerta-webui
+ pkgdesc = A web interface for Alerta
+ pkgver = 7.4.1
+ pkgrel = 1
+ url = https://github.com/alerta/alerta-webui
+ arch = any
+ license = APACHE
+ source = https://github.com/alerta/alerta-webui/releases/download/v7.4.1/alerta-webui.tar.gz
+ sha256sums = 3010b0edd3f5975633cb3d7b40bf4279941728b8661e49973acda8bfa8914ba8
+
+pkgname = alerta-webui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7eba2b15fa4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,15 @@
+# Maintainer: Michael Clayfield <me@michaelclayfield.com>
+pkgname=alerta-webui
+pkgver=7.4.1
+pkgrel=1
+pkgdesc="A web interface for Alerta"
+arch=('any')
+url="https://github.com/alerta/alerta-webui"
+license=('APACHE')
+source=("https://github.com/alerta/alerta-webui/releases/download/v${pkgver}/${pkgname}.tar.gz")
+sha256sums=('3010b0edd3f5975633cb3d7b40bf4279941728b8661e49973acda8bfa8914ba8')
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/webapps/${pkgname}"
+ cp -r dist/* "${pkgdir}/usr/share/webapps/${pkgname}"
+}