summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author Arn0 <yth@ythogtha.org>2023-05-14 15:16:58 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:19 +0700
commit0fb4f4c81a038e91d6bb607e2f0d1145d1f75d7f (patch)
treeb2ad2330a1ae9a21f126f15f58e517e69865a885 /desktop
parent13a0d3aa1407dd61976bb4d3ff4a41159140e021 (diff)
downloadslackbuilds-0fb4f4c81a038e91d6bb607e2f0d1145d1f75d7f.tar.gz
slackbuilds-0fb4f4c81a038e91d6bb607e2f0d1145d1f75d7f.tar.xz
desktop/dbgl-legacy: New maintainer, builds from source.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/dbgl-legacy/README3
-rw-r--r--desktop/dbgl-legacy/dbgl-legacy.SlackBuild25
-rw-r--r--desktop/dbgl-legacy/dbgl-legacy.info12
3 files changed, 26 insertions, 14 deletions
diff --git a/desktop/dbgl-legacy/README b/desktop/dbgl-legacy/README
index 922338aca1..0c12e4c461 100644
--- a/desktop/dbgl-legacy/README
+++ b/desktop/dbgl-legacy/README
@@ -11,3 +11,6 @@ Notes:
2. this legacy version is the last one that supports 32-bits
architecture, if you don't need that you may install package 'dbgl'
instead
+
+This packages builds only with zulu-openjdk8, maybe openjdk8.
+It runs with zulu-openjdk7, but not zulu-openjdk11 or zulu-openjdk17.
diff --git a/desktop/dbgl-legacy/dbgl-legacy.SlackBuild b/desktop/dbgl-legacy/dbgl-legacy.SlackBuild
index 873055f4ae..f4211333ed 100644
--- a/desktop/dbgl-legacy/dbgl-legacy.SlackBuild
+++ b/desktop/dbgl-legacy/dbgl-legacy.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for dbgl-legacy
# Copyright 2020 Leonardo Citrolo, Italy
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dbgl-legacy
VERSION=${VERSION:-0.83}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,12 +51,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-case "$ARCH" in
- i?86) ;;
- x86_64) ;;
- *) echo "$ARCH architecture is not supported"; exit 1 ;;
-esac
-
set -e
rm -rf $PKG
@@ -64,7 +59,21 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/dbgl${VERSION//./}_generic.tar.gz
+# Building from source creates the binary package.tar.gz
+unzip $CWD/src${VERSION//./}.zip
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+ant
+
+# Converting the package.tar.gz into a Slackware package
+mkdir build
+cd build
+tar xvf ../dist/dbgl${VERSION//./}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/desktop/dbgl-legacy/dbgl-legacy.info b/desktop/dbgl-legacy/dbgl-legacy.info
index 3af0ee5063..f9280a0f8e 100644
--- a/desktop/dbgl-legacy/dbgl-legacy.info
+++ b/desktop/dbgl-legacy/dbgl-legacy.info
@@ -1,10 +1,10 @@
PRGNAM="dbgl-legacy"
VERSION="0.83"
-HOMEPAGE="http://members.quicknet.nl/blankendaalr/dbgl/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/dbgl083_generic.tar.gz"
-MD5SUM="89f609cf415f8f64de98407a2084629c"
+HOMEPAGE="https://dbgl.org/"
+DOWNLOAD="https://dbgl.org/download/src083.zip"
+MD5SUM="a0874fe7a8ccc411abef243b89b41749"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dosbox zulu-openjdk8"
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
+REQUIRES="dosbox apache-ant zulu-openjdk8"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"