summaryrefslogtreecommitdiff
path: root/desktop/dbgl/dbgl.SlackBuild
diff options
context:
space:
mode:
authorLeo C <leoc@gmx.com>2020-09-04 20:28:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-04 20:28:23 +0700
commitaf6f1049fa885ca203a016a92e6d247714b9aa13 (patch)
tree4b86585bb9afab739fb44a9500adac984db7f625 /desktop/dbgl/dbgl.SlackBuild
parentbd5ce9de6cb06e575a8fc430a09a9940a431c74c (diff)
downloadslackbuilds-af6f1049fa885ca203a016a92e6d247714b9aa13.tar.gz
desktop/dbgl: Updated for version 0.92.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/dbgl/dbgl.SlackBuild')
-rw-r--r--desktop/dbgl/dbgl.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/desktop/dbgl/dbgl.SlackBuild b/desktop/dbgl/dbgl.SlackBuild
index b61b93fb17..2d184bfbae 100644
--- a/desktop/dbgl/dbgl.SlackBuild
+++ b/desktop/dbgl/dbgl.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for dbgl
-# Copyright 2018 Leonardo Citrolo, Italy
+# Copyright 2018-2020 Leonardo Citrolo, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dbgl
-VERSION=${VERSION:-0.82}
+VERSION=${VERSION:-0.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,6 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
case "$ARCH" in
- i?86) ;;
x86_64) ;;
*) echo "$ARCH architecture is not supported"; exit 1 ;;
esac
@@ -54,7 +53,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM${VERSION//./}_generic.tar.gz
+tar xvf $CWD/$PRGNAM${VERSION//./}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -64,16 +63,9 @@ find -L . \
mkdir -p $PKG/usr/share/{$PRGNAM,applications} \
$PKG/usr/bin
-cp -a lib templates xsl $PRGNAM $PRGNAM.jar $PRGNAM.png \
+cp -a db lib templates xsl $PRGNAM $PRGNAM.jar $PRGNAM.png \
$PKG/usr/share/$PRGNAM
-# Remove unnecessary Arch-related stuff
-if [ "$ARCH" = "x86_64" ]; then
- rm -f $PKG/usr/share/$PRGNAM/lib/swtlin32.jar
-else
- rm -f $PKG/usr/share/$PRGNAM/lib/swtlin64.jar
-fi
-
# Create destop entry
cat > $PKG/usr/share/applications/$PRGNAM.desktop <<EOF
[Desktop Entry]