void-packages/srcpkgs/dbeaver/template
2021-09-20 17:54:51 -03:00

27 lines
781 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=21.2.1
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 <knusbaum+void@sdf.org>"
license="Apache-2.0"
homepage="https://dbeaver.io"
distfiles="https://github.com/dbeaver/dbeaver/archive/${version}.tar.gz"
checksum=b78be3c0b0bf83c0921c5b7172d5d177c6b4421f2899cd81f4be7f1b217e0bc5
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
}