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