summaryrefslogtreecommitdiff
path: root/conduktor
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-18 09:02:51 +0100
committerErich Eckner <git@eckner.net>2021-11-18 09:02:51 +0100
commit9e17e5b2788782db4adfc0e0fee6feee63005495 (patch)
tree06d23d5f664952fefd4b43dd730a175d26f77bc4 /conduktor
parentbc22afe3c151dfb5928ddaa371b517216b9069c9 (diff)
downloadarchlinuxewe-9e17e5b2788782db4adfc0e0fee6feee63005495.tar.xz
conduktor neu
Diffstat (limited to 'conduktor')
-rw-r--r--conduktor/PKGBUILD27
-rw-r--r--conduktor/conduktor.desktop7
2 files changed, 34 insertions, 0 deletions
diff --git a/conduktor/PKGBUILD b/conduktor/PKGBUILD
new file mode 100644
index 000000000..d8831d548
--- /dev/null
+++ b/conduktor/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Lucas Declercq <lucas dot declercq at mailbox dot org>
+
+pkgname="conduktor"
+pkgver=2.18.5
+pkgrel=1
+pkgdesc="A Kafka Desktop Client"
+url="https://www.conduktor.io"
+license=("Commercial")
+arch=("any")
+depends=("bash")
+optdepends=("java-runtime>=11: at least Java 11")
+source=("https://github.com/conduktor/builds/releases/download/v${pkgver}/Conduktor-linux-${pkgver}.zip"
+ "conduktor.desktop")
+sha256sums=('aa1461e67b5635b9fe49fb14ab36bc3e64881d05a58ea12500aa911d40eaa09c'
+ 'a231b74a710988b04eda2e50917745da755ff04fe5a0898fe534351af9aa04c1')
+options=("!strip")
+
+package(){
+ install -Dm755 -t "${pkgdir}/opt/${pkgname}/bin/" "${srcdir}/conduktor-${pkgver}/bin/${pkgname}"
+ install -Dm644 -t "${pkgdir}/opt/${pkgname}/lib/" "${srcdir}/conduktor-${pkgver}"/lib/*.jar
+ install -Dm644 -t "${pkgdir}/usr/share/applications/" "${srcdir}/"*.desktop
+
+ mkdir -p "${pkgdir}/usr/bin"
+
+ ln -s "/opt/${pkgname}/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
diff --git a/conduktor/conduktor.desktop b/conduktor/conduktor.desktop
new file mode 100644
index 000000000..23e83708f
--- /dev/null
+++ b/conduktor/conduktor.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Conduktor
+Comment=Kafka Desktop Client
+Exec=conduktor
+Terminal=false
+Type=Application
+Categories=Development; \ No newline at end of file