From af6f1049fa885ca203a016a92e6d247714b9aa13 Mon Sep 17 00:00:00 2001 From: Leo C Date: Fri, 4 Sep 2020 20:28:23 +0700 Subject: desktop/dbgl: Updated for version 0.92. Signed-off-by: Willy Sudiarto Raharjo --- desktop/dbgl/README | 9 ++++++--- desktop/dbgl/dbgl.SlackBuild | 16 ++++------------ desktop/dbgl/dbgl.info | 12 ++++++------ desktop/dbgl/slack-desc | 4 ++-- 4 files changed, 18 insertions(+), 23 deletions(-) (limited to 'desktop') diff --git a/desktop/dbgl/README b/desktop/dbgl/README index 60db979399..c824bd3dd8 100644 --- a/desktop/dbgl/README +++ b/desktop/dbgl/README @@ -2,8 +2,11 @@ DBGL serves as a frontend / Graphical User Interface to DOSBox (configuration). It tries to make creating DOSBox configuration files a little easier by offering a (relatively) simple interface, some shortcuts and a little bit of intelligence (DOSBox behavior). -Once your DOS games are configured in DBGL, its very easy to setup or +Once your DOS games are configured in DBGL, it's very easy to setup or start them, or alter their configuration or associated DOSBox version. -Note: this works with both 'dosbox' and 'dosbox-dev' packages available - at SBo, at least one of them must be installed. +Notes: +1. this works with both 'dosbox' and 'dosbox-dev' packages available at + SBo, at least one of them must be installed. +2. starting from version 0.90, dbgl supports 64-bits architecture only; + if you need 32-bits you should install package 'dbgl-legacy' instead. 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 <