diff options
Diffstat (limited to 'desktop/dbgl/dbgl.SlackBuild')
-rw-r--r-- | desktop/dbgl/dbgl.SlackBuild | 16 |
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] |