32 lines
973 B
Bash
32 lines
973 B
Bash
# Template file for 'dbeaver'
|
|
pkgname=dbeaver
|
|
version=22.0.1
|
|
revision=2
|
|
# the build downloads binaries linked to glibc
|
|
archs="x86_64 aarch64"
|
|
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=2258f77b6e68fc0784dd7d92fc1297695b57e6ca22e3d454f21f328bf61e2bf0
|
|
nopie=true
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = aarch64 ]; then
|
|
broken="https://build.voidlinux.org/builders/aarch64_builder/builds/36442/steps/shell_3/logs/stdio"
|
|
fi
|
|
|
|
do_build() {
|
|
mvn package -P all-platforms
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir /usr/lib
|
|
vcopy "product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/${XBPS_TARGET_MACHINE}/dbeaver" /usr/lib/
|
|
|
|
vmkdir /usr/bin
|
|
ln -s /usr/lib/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver
|
|
}
|