aboutsummaryrefslogtreecommitdiff
path: root/games/xroar-roms/xroar-roms.SlackBuild
diff options
context:
space:
mode:
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