28 lines
781 B
Bash
28 lines
781 B
Bash
# Template file for 'dbeaver'
|
|
pkgname=dbeaver
|
|
version=7.3.5
|
|
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=64ea39b57f106d0d37b1df8fce63d4c8f73cfe588eb6ffe9d2a215fb77e82d44
|
|
nopie=true
|
|
|
|
do_build() {
|
|
mvn package
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir /usr/lib
|
|
vcopy "product/standalone/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
|
|
}
|