summaryrefslogtreecommitdiff
path: root/kaizen
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-03-02 15:49:21 +0100
committerErich Eckner <git@eckner.net>2022-03-02 16:06:36 +0100
commit855217bedba023359363ebd65a4084c8b5e93c13 (patch)
tree96ef189bbe91dae69793a9cded1000426f09d3e1 /kaizen
parent3e26c285111966b416e0e4d0ef1e8c2d8a68f28c (diff)
downloadarchlinuxewe-855217bedba023359363ebd65a4084c8b5e93c13.tar.xz
kaizen new
Diffstat (limited to 'kaizen')
-rw-r--r--kaizen/LICENSE10
-rw-r--r--kaizen/PKGBUILD58
-rw-r--r--kaizen/kaizen.desktop10
-rw-r--r--kaizen/kaizen.pngbin0 -> 9487 bytes
4 files changed, 78 insertions, 0 deletions
diff --git a/kaizen/LICENSE b/kaizen/LICENSE
new file mode 100644
index 000000000..ef5abd271
--- /dev/null
+++ b/kaizen/LICENSE
@@ -0,0 +1,10 @@
+This End-User License Agreement ("EULA") is a legal agreement between you and artcom venture GmbH ("Vendor"). This EULA agreement governs your acquisition and use of Kaizen ("Software") directly from the Vendor.
+
+The Vendor hereby grants you a personal, non-transferable, non-exclusive licence to use the Software on your devices. You are not permitted to:
+
+- Edit, alter, modify, adapt, translate or otherwise change the whole or any part of the Software
+- Reproduce, copy, distribute, resell or otherwise use the Software for any commercial purpose
+- Allow any third party to use the Software on behalf of or for the benefit of any third party
+- Use the Software in any way which breaches any applicable local, national or international law
+
+The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
diff --git a/kaizen/PKGBUILD b/kaizen/PKGBUILD
new file mode 100644
index 000000000..805d7fc23
--- /dev/null
+++ b/kaizen/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Serge K <arch@phnx47.net>
+
+# https://github.com/phnx47/pkgbuilds
+
+pkgname=kaizen
+pkgdesc="Kaizen ElasticSearch GUI"
+pkgver=5.715.100
+pkgrel=2
+arch=('x86_64')
+url='https://www.elastic-kaizen.com/'
+license=('custom')
+optdepends=('gtk-theme-murrine-collection')
+_pinned_dependencies=(
+ 'glibc>=2.35'
+ 'libgio-2.0.so=0'
+ 'libglib-2.0.so=0'
+ 'libgmodule-2.0.so=0'
+ 'libgobject-2.0.so=0'
+ 'libgthread-2.0.so=0'
+ 'zlib=1:1.2.11'
+)
+depends=("${_pinned_dependencies[@]}")
+_pkgsrc="${pkgname}-${pkgver}-linux-x64.zip"
+source=("${_pkgsrc}::https://www.elastic-kaizen.com/releases/${_pkgsrc}"
+ "kaizen.desktop"
+ "LICENSE"
+ "kaizen.png")
+
+sha512sums=('9163c9954043b389b08be9223cae9ab517759bc9a51499bee932e111ff2834f00490701b151f6d514103007efb120de6befc11497c7eaa40d0b3a65c1c19485d'
+ 'c7555c9173855402c3d47acc0b624e7ef26018b0f31d20db74eb52afea76b6109bec3d66bf3dad99194917dc9a58f784bc45662aa899f633fd2c7adfea4852d1'
+ '35e15a34c425c8af17c1141a35cec0cbea6aba65d01443fb39ceb09ff51bb30ab356192d54b33dfb953ef9ddc6e489e42067358543f129e03f9a0c4f5a041529'
+ 'a0277b72a04cfa7dad2ae8819fc5a009211bbbb44645cc1b7f73fb66e9473d47d5fa6273dfc977bd6746bc435e5ddc21ba28d3cb03e3f090ae6b5ac82137b913')
+
+build() {
+
+ # Correct kaizen.sh
+ sed -e "s/jvm/\/opt\/${pkgname}\/jvm/g" -i "$srcdir/${pkgname}.sh"
+ sed -e "s/${pkgname}.jar/\/opt\/${pkgname}\/${pkgname}.jar/g" -i "$srcdir/${pkgname}.sh"
+}
+
+package() {
+
+ install -Dm644 "$srcdir/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ install -dm755 "${pkgdir}/opt"
+ mkdir -p "${pkgdir}/opt/${pkgname}/"
+ cp -a "${srcdir}/${pkgname}.jar" "${pkgdir}/opt/${pkgname}/"
+ cp -a "${srcdir}/${pkgname}.sh" "${pkgdir}/opt/${pkgname}/"
+ cp -a "${srcdir}/jvm" "${pkgdir}/opt/${pkgname}/"
+
+ # dirty hack
+ mkdir -p "$HOME/.config/${pkgname}"
+
+ install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/kaizen/kaizen.desktop b/kaizen/kaizen.desktop
new file mode 100644
index 000000000..37d9ed641
--- /dev/null
+++ b/kaizen/kaizen.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Kaizen
+Comment=Kaizen ElasticSearch GUI
+Path=~/.config/kaizen
+Exec=/opt/kaizen/kaizen.sh
+Icon=kaizen
+Terminal=false
+StartupNotify=true
+Type=Application
+Categories=Development
diff --git a/kaizen/kaizen.png b/kaizen/kaizen.png
new file mode 100644
index 000000000..b8ebf97e8
--- /dev/null
+++ b/kaizen/kaizen.png
Binary files differ