void-packages/srcpkgs/dbeaver/template
2020-02-14 12:50:13 +01:00

25 lines
673 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=6.3.4
revision=1
archs="x86_64"
hostmakedepends="apache-maven-bin"
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=64c7122424209d00ea8e4c3dae643d63b5de5ed5a7585ff2f672cef8afb68ecf
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
}