29 lines
824 B
Bash
29 lines
824 B
Bash
# Template file for 'dbeaver'
|
|
pkgname=dbeaver
|
|
version=22.3.1
|
|
revision=1
|
|
# the build downloads binaries linked to glibc
|
|
archs="x86_64 aarch64"
|
|
hostmakedepends="apache-maven openjdk17"
|
|
depends="openjdk17"
|
|
short_desc="Free Universal Database Tool"
|
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://dbeaver.io"
|
|
changelog="https://dbeaver.io/news/"
|
|
distfiles="https://github.com/dbeaver/dbeaver/archive/${version}.tar.gz"
|
|
checksum=d6f3fd9c09a5722c6ef4afca40b8b0fd83293677450e701a3166d0c36f1af08e
|
|
nopie=true
|
|
|
|
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
|
|
}
|