diff options
author | Joielechong <juansspy@gmail.com> | 2020-05-03 00:13:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-03 00:13:48 +0700 |
commit | dfd2acb83e7b4553adb14b9864680671d646b764 (patch) | |
tree | 8c5d97cb017e82fbd8f7deaab8f5044a349faa03 /development | |
parent | cfcf8eea6e49762606b00d5ea8ba0498955273f9 (diff) | |
download | slackbuilds-dfd2acb83e7b4553adb14b9864680671d646b764.tar.gz |
development/dbeaver-ce: Updated for version 7.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/dbeaver-ce/dbeaver-ce.SlackBuild | 15 | ||||
-rw-r--r-- | development/dbeaver-ce/dbeaver-ce.info | 6 |
2 files changed, 14 insertions, 7 deletions
diff --git a/development/dbeaver-ce/dbeaver-ce.SlackBuild b/development/dbeaver-ce/dbeaver-ce.SlackBuild index c936dfcf53..7d2b897113 100644 --- a/development/dbeaver-ce/dbeaver-ce.SlackBuild +++ b/development/dbeaver-ce/dbeaver-ce.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dbeaver-ce -# Copyright 2019 Joielechong <juansspy@gmail.com> +# Copyright 2020 Joielechong <juansspy@gmail.com>, Jasper Hageraats <spycrowsoft@gmail.com> # Copyright 2014 Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. # @@ -26,7 +26,7 @@ ORIGINAL_PRGNAM=dbeaver PRGNAM=dbeaver-ce -VERSION=${VERSION:-6.3.0} +VERSION=${VERSION:-7.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,12 +65,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +DESKTOPPATH=/usr/share/dbeaver/ +NEWDESKTOPPATH=/opt/$PRGNAM/ + +# Rewrite paths in .desktop file +mv ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig +sed "s~$DESKTOPPATH~$NEWDESKTOPPATH~" ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig > ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop +rm ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig # Add dbeaver to KDE/GNOME/XFCE menu -install -D -m 644 ${CWD}/${ORIGINAL_PRGNAM}.desktop \ +install -D -m 644 ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop \ ${PKG}/usr/share/applications/${PRGNAM}.desktop -install -D -m 644 ${CWD}/${ORIGINAL_PRGNAM}.png ${PKG}/usr/share/pixmaps/${PRGNAM}.png +install -D -m 644 ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.png ${PKG}/usr/share/pixmaps/${ORIGINAL_PRGNAM}.png mkdir -p $PKG/usr/bin cat << EOF > $PKG/usr/bin/$PRGNAM diff --git a/development/dbeaver-ce/dbeaver-ce.info b/development/dbeaver-ce/dbeaver-ce.info index 4d70c51f1f..bfb4dd22b0 100644 --- a/development/dbeaver-ce/dbeaver-ce.info +++ b/development/dbeaver-ce/dbeaver-ce.info @@ -1,10 +1,10 @@ PRGNAM="dbeaver-ce" -VERSION="6.3.0" +VERSION="7.0.3" HOMEPAGE="https://dbeaver.io" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://dbeaver.io/files/6.3.0/dbeaver-ce-6.3.0-linux.gtk.x86_64.tar.gz" -MD5SUM_x86_64="aeaa8ca8962b8f89e7209a971423e1fd" +DOWNLOAD_x86_64="https://dbeaver.io/files/7.0.3/dbeaver-ce-7.0.3-linux.gtk.x86_64.tar.gz" +MD5SUM_x86_64="5094aff0dde767b15442984f36eba086" REQUIRES="jdk" MAINTAINER="Joielechong" EMAIL="juansspy@gmail.com" |