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>
This commit is contained in:
Arn0 2023-05-14 15:16:58 +02:00 committed by Willy Sudiarto Raharjo
parent 13a0d3aa14
commit 0fb4f4c81a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 26 additions and 14 deletions

View file

@ -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.

View file

@ -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 \

View file

@ -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"