dbeaver: enable aarch64 package creation

This commit is contained in:
John 2021-10-26 18:33:02 +02:00
parent 056b011707
commit 40ceaaf377

View file

@ -3,7 +3,7 @@ pkgname=dbeaver
version=21.2.3
revision=1
# the build downloads binaries linked to glibc
archs="x86_64"
archs="x86_64 aarch64"
hostmakedepends="apache-maven"
depends="openjdk11" # openjdk11 or later version, when available
short_desc="Free Universal Database Tool"
@ -15,12 +15,12 @@ checksum=ea3bbbad9d09962fb2711309b56e74c75e973028cea395e3e27e454e831bb676
nopie=true
do_build() {
mvn package
mvn package -P all-platforms
}
do_install() {
vmkdir /usr/lib
vcopy "product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver" /usr/lib/
vcopy "product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/${XBPS_TARGET_MACHINE}/dbeaver" /usr/lib/
vmkdir /usr/bin
ln -s /usr/lib/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver