void-packages/srcpkgs/dbeaver/template

34 lines
810 B
Bash
Raw Normal View History

2018-09-13 19:16:37 +02:00
# Template file for 'dbeaver'
pkgname=dbeaver
2018-12-11 21:57:46 +01:00
version=5.3.0
2018-09-13 19:16:37 +02:00
revision=1
only_for_archs="i686 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"
2018-12-11 21:57:46 +01:00
checksum=ef6fd3c1febd6b3b10adfff779c390e2b3889f9a1870aea12c9631c8726b9e15
2018-09-13 19:16:37 +02:00
nopie=true
do_build() {
mvn package
}
do_install() {
case $XBPS_TARGET_MACHINE in
x86_64*)
_target_dir=x86_64
;;
i686*)
_target_dir=x86
;;
esac
vmkdir /usr/share
vcopy "product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_target_dir}/dbeaver" /usr/share/
vmkdir /usr/bin
ln -s /usr/share/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver
}