desktop/dbgl: Updated for version 0.97, new maintainer.

Now builds from source.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2023-05-09 11:47:16 +02:00 committed by Willy Sudiarto Raharjo
parent c77252953b
commit a2c788ba7b
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 35 additions and 13 deletions

View File

@ -10,3 +10,6 @@ Notes:
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.
Java 11 minimum is required, but any kind of 11+ SlackBuild jdk may
build or run this package, eg zulu-openjdk17, OpenJDK11, or OpenJDK17.

View File

@ -3,6 +3,7 @@
# Slackware build script for dbgl
# Copyright 2018-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
@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dbgl
VERSION=${VERSION:-0.92}
VERSION=${VERSION:-0.97}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -50,10 +51,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
case "$ARCH" in
x86_64) ;;
*) echo "$ARCH architecture is not supported"; exit 1 ;;
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
[[ $ARCH =~ i.86 ]] && echo "$ARCH architecture is not supported" && exit 1
set -e
@ -63,7 +68,21 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM${VERSION//./}.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/$PRGNAM${VERSION//./}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View File

@ -1,10 +1,10 @@
PRGNAM="dbgl"
VERSION="0.92"
HOMEPAGE="http://members.quicknet.nl/blankendaalr/dbgl/"
VERSION="0.97"
HOMEPAGE="https://dbgl.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://ponce.cc/slackware/sources/repo/dbgl092.tar.gz"
MD5SUM_x86_64="d1eed3dc1694f1aa3186ff54104d8bd5"
REQUIRES="dosbox zulu-openjdk8"
MAINTAINER="Leo C."
EMAIL="leoc@gmx.com"
DOWNLOAD_x86_64="https://dbgl.org/download/src097.zip"
MD5SUM_x86_64="23c3f4fe63a910572d2c8f7dea64a20e"
REQUIRES="dosbox apache-ant zulu-openjdk11"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"