mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
development/dbeaver-ce: Updated for version 7.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cfcf8eea6e
commit
dfd2acb83e
2 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue