# Template file for 'dbeaver' pkgname=dbeaver version=21.2.2 revision=1 # the build downloads binaries linked to glibc archs="x86_64" hostmakedepends="apache-maven" depends="openjdk11" # openjdk11 or later version, when available short_desc="Free Universal Database Tool" maintainer="Kyle Nusbaum " license="Apache-2.0" homepage="https://dbeaver.io" distfiles="https://github.com/dbeaver/dbeaver/archive/${version}.tar.gz" checksum=955046eec4a77085b74ac40e40c1754fad8642dd8b8cb99896d10d3b81731e52 nopie=true do_build() { mvn package } do_install() { vmkdir /usr/lib vcopy "product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver" /usr/lib/ vmkdir /usr/bin ln -s /usr/lib/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver }