33 lines
804 B
Bash
33 lines
804 B
Bash
# Template file for 'dbeaver'
|
|
pkgname=dbeaver
|
|
version=5.3.2
|
|
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"
|
|
checksum=c59121f9857aa93f0a01ee9a00000f934df8ea2f2b594147b7c94b7167bad8a6
|
|
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/lib
|
|
vcopy "product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_target_dir}/dbeaver" /usr/lib/
|
|
|
|
vmkdir /usr/bin
|
|
ln -s /usr/lib/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver
|
|
}
|