aboutsummaryrefslogtreecommitdiff
path: root/games/xroar-roms/xroar-roms.SlackBuild
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/xroar-roms/xroar-roms.SlackBuild
parent8fbe0b1fd3d1eb8b7d67de7babb2c252c318f3cd (diff)
games/xroar-roms: Get rid of duplicate ROMs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/xroar-roms/xroar-roms.SlackBuild')
-rw-r--r--games/xroar-roms/xroar-roms.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/xroar-roms/xroar-roms.SlackBuild b/games/xroar-roms/xroar-roms.SlackBuild
index 3bf8c6ceaec8f..89102abee241c 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