# Maintainer: Erich Eckner # Contributor: Lucas Declercq pkgname="conduktor" pkgver=2.19.0 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=('01901d4416f7d6abf90ffc9ad75a1605d083fec3dad1bbf10836d9f508d6cbc5' '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}" }