void-packages/srcpkgs/dbeaver/template
2019-09-25 12:38:13 +02:00

25 lines
673 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=6.2.1
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=1a049c3a5aea98d371a1833bca19b08dd34a8a857513787a3843885e7c9fc2c2
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
}