void-packages/srcpkgs/dbeaver/template
2020-08-04 08:56:53 -05:00

25 lines
673 B
Bash

# Template file for 'dbeaver'
pkgname=dbeaver
version=7.1.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=9256089c328c0757a207b0945f6453aa1cbb7e7608bec43be37ee1cf1e0d8502
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
}