New package: dbeaver-5.1.6 (#2691)
This commit is contained in:
parent
c4aca240a0
commit
f0e7415f6a
1 changed files with 33 additions and 0 deletions
33
srcpkgs/dbeaver/template
Normal file
33
srcpkgs/dbeaver/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'dbeaver'
|
||||
pkgname=dbeaver
|
||||
version=5.1.6
|
||||
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=7e459e610a717074369dbfc4ca2e0dd0eabeb69ad264c7717ef2338cc74b5c3f
|
||||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue