void-packages/srcpkgs/dbeaver/template
Kartik Singh 4fd22650ed dbeaver: use apache-maven, update to 7.2.2.
Add comment for archs.

Closes: #25451 [via git-merge-pr]
2020-10-16 15:07:14 -03:00

26 lines
716 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=7.2.2
revision=1
# the build downloads binaries linked to glibc
archs="x86_64"
hostmakedepends="apache-maven"
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=57ab79f61498d70bedddffe33e6a5c1201bcf1ae3575ac574196c53442bc0829
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
}