summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-15 18:02:11 -0400
committerB. Watson <yalhcru@gmail.com>2022-03-17 12:38:18 -0400
commita70d4becfc235f0a9249d53deadd468ca23e921f (patch)
tree60432014870c1c964ed0142d54b3d393d66f2f14 /games
parent8fbe0b1fd3d1eb8b7d67de7babb2c252c318f3cd (diff)
downloadslackbuilds-a70d4becfc235f0a9249d53deadd468ca23e921f.tar.gz
games/xroar-roms: Get rid of duplicate ROMs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/xroar-roms/xroar-roms.SlackBuild10
-rw-r--r--games/xroar-roms/xroar-roms.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/games/xroar-roms/xroar-roms.SlackBuild b/games/xroar-roms/xroar-roms.SlackBuild
index 3bf8c6ceae..89102abee2 100644
--- a/games/xroar-roms/xroar-roms.SlackBuild
+++ b/games/xroar-roms/xroar-roms.SlackBuild
@@ -11,11 +11,13 @@
# as simple as adding it to the .info file, just make sure the download
# links line up with the md5sums.
+# 20220315 bkw: BUILD=2, use symlinks for duplicate ROMs.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xroar-roms
VERSION=${VERSION:-20180901}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -45,6 +47,12 @@ for romfile in $DOWNLOAD; do
cat "$CWD/$romfile" > "$romfile"
done
+# 20220315 bkw: some of the ROMs were dupes. Instead of installing
+# duplicate files, symlink them.
+ln -s d200rom1.rom d64tano.rom
+ln -s d200rom2.rom d64rom2.rom
+ln -s d200rom2.rom d64tano2.rom
+
# Get rid of "-vo sdl" from example commands, as it no longer works in
# modern xroar.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/xroar-roms/xroar-roms.info b/games/xroar-roms/xroar-roms.info
index b7650d7a1a..e14dc6b465 100644
--- a/games/xroar-roms/xroar-roms.info
+++ b/games/xroar-roms/xroar-roms.info
@@ -21,9 +21,6 @@ DOWNLOAD="http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Readme.txt \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d200rom2.rom \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d32.rom \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d64rom1.rom \
- http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d64rom2.rom \
- http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d64tano.rom \
- http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/BASIC_OS/d64tano2.rom \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/DOS/ddos10.rom \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/DOS/ddos11c.rom \
http://www.colorcomputerarchive.com/coco/ROMs/XRoar/Dragon/DOS/ddos42.rom"
@@ -47,9 +44,6 @@ MD5SUM="8b08af42c82761c2ffab780b4675dee5 \
fd91edce7be5e7c2d88e46b76956a8aa \
3420b96031078a4ef408cad7bf21a33f \
5f0bee59710e55f5880e74890912ed78 \
- fd91edce7be5e7c2d88e46b76956a8aa \
- be9bc86ee5eb401d0a40d0377f65fefa \
- fd91edce7be5e7c2d88e46b76956a8aa \
1c965da49b6c5459b8353630aa1482e7 \
d8429af1a12f7438a4bf88a5b934cb3a \
c956a854cbc4b9d1e69c000f78368668"