summaryrefslogtreecommitdiff
path: root/conduktor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'conduktor/PKGBUILD')
-rw-r--r--conduktor/PKGBUILD27
1 files changed, 27 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}"
+}