diff options
Diffstat (limited to 'games/xroar-roms/xroar-roms.SlackBuild')
-rw-r--r-- | games/xroar-roms/xroar-roms.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/games/xroar-roms/xroar-roms.SlackBuild b/games/xroar-roms/xroar-roms.SlackBuild index 477074ca1c..7bc0d9aac9 100644 --- a/games/xroar-roms/xroar-roms.SlackBuild +++ b/games/xroar-roms/xroar-roms.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xroar-roms -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. @@ -11,18 +11,17 @@ # 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 -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -48,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 |