void-packages/srcpkgs/dbeaver/template
2020-12-08 11:25:43 -05:00

26 lines
716 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=7.3.0
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=c2c2fbd92b6dab0c452f8597a0ea0586a9f43b2b16c378b48742e4d684824fd0
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
}