aboutsummaryrefslogtreecommitdiff
path: root/system/pcem-roms
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-04-06 21:48:33 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:46:00 +0700
commit0b3d064a0b046b3d385dec843ccaf8115dc00ce4 (patch)
tree3b4dd5cdf800eb77b5a290c576e14d0454fbbf12 /system/pcem-roms
parent79785f969d1b9537eec6219d81a5ed3a59de261b (diff)
system/pcem-roms: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/pcem-roms')
-rw-r--r--system/pcem-roms/pcem-roms.SlackBuild9
-rw-r--r--system/pcem-roms/pcem-roms.info2
2 files changed, 5 insertions, 6 deletions
diff --git a/system/pcem-roms/pcem-roms.SlackBuild b/system/pcem-roms/pcem-roms.SlackBuild
index 08590506e7467..550e526ef9bd4 100644
--- a/system/pcem-roms/pcem-roms.SlackBuild
+++ b/system/pcem-roms/pcem-roms.SlackBuild
@@ -9,8 +9,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pcem-roms
-SRCNAM=PCem-Roms
-DIRNAM=PCem-ROMs
+SRCNAM=PCem-ROMs
VERSION=${VERSION:-17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,9 +33,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $DIRNAM-$VERSION
+cd $SRCNAM-$VERSION
# A missing rom for the Commodore PC-10
mkdir cbm_pc10
cp $CWD/cbm-pc10c-bios-v4.41-318085-08.bin cbm_pc10
@@ -91,7 +90,7 @@ mv oti037/BIOS.BIN oti037/bios.bin
mv BlasterPCI.rom blasterpci.rom
mv Pci_sg.rom pci_sg.rom
-cd $TMP/$DIRNAM-$VERSION
+cd $TMP/$SRCNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/pcem-roms/pcem-roms.info b/system/pcem-roms/pcem-roms.info
index 068137df0e4a4..2c5bff191c769 100644
--- a/system/pcem-roms/pcem-roms.info
+++ b/system/pcem-roms/pcem-roms.info
@@ -1,7 +1,7 @@
PRGNAM="pcem-roms"
VERSION="17.0"
HOMEPAGE="https://github.com/BaRRaKudaRain/PCem-ROMs"
-DOWNLOAD="https://github.com/BaRRaKudaRain/PCem-ROMs/archive/refs/tags/v17.0/PCem-Roms-17.0.tar.gz \
+DOWNLOAD="https://github.com/BaRRaKudaRain/PCem-ROMs/archive/refs/tags/v17.0/PCem-ROMs-17.0.tar.gz \
http://www.zimmers.net/anonftp/pub/cbm-pc/firmware/pc10/cbm-pc10c-bios-v4.41-318085-08.bin"
MD5SUM="1de3c5fd08ab4b2b0cf353bc189d619b \
598a1adee2a9ddaa5b0d4b73190ff990"