summaryrefslogtreecommitdiff
path: root/conduktor/PKGBUILD
blob: f1b6dfd7fe3334bca80f18aeefb54d4b6d238017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Lucas Declercq <lucas dot declercq at mailbox dot org>

pkgname="conduktor"
pkgver=2.19.2
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")
sha512sums=('d88ea18550f199697041f160630219bef48514294f51c9233f261e0ab6b7eb0e708e1120af402830d728e1774e9574c248e72a23f5fb5a1651a8344b8ee17a5d'
            '343679f6d5bb2dbfa7d573e68e703c1c99af58200388e0199b67305b3e7e54a29a6fb230dced51411e33570fc47729449b22fc60e600c4a6216017dc06eb6a06')
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}"
}