games/uqm-megamod: Updated for version 0.8.2.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-11 03:28:13 -05:00 committed by Willy Sudiarto Raharjo
parent 917a99efec
commit a085384393
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 21 additions and 18 deletions

View file

@ -16,12 +16,15 @@
# it enabled. And even so, the user has to enable it in the in-game
# settings (default is 'mixsdl').
# 20230111 bkw: updated for v0.8.2.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=uqm-megamod
VERSION=${VERSION:-0.8.1_3}
VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -109,13 +112,13 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
CONTENT_DIR=$PKG/usr/share/games/$PRGNAM/content
mkdir -p $CONTENT_DIR/{packages,addons}
install -oroot -groot -m0644 content/version $CONTENT_DIR/version
install -oroot -groot -m0644 $CWD/mm-0.8.1-content.uqm $CONTENT_DIR/packages
install -oroot -groot -m0644 $CWD/mm-0.8.2-content.uqm $CONTENT_DIR/packages
for i in \
mm-0.8.1-hd.uqm \
mm-0.8.1-3dovoice.uqm \
uqm-0.7.0-3DOMusicRemastered.uqm \
uqm-0.7.0-3dovideo.uqm
mm-0.8.2-hd.uqm \
mm-0.8.2-3dovoice.uqm \
uqm-0.8.0-3DOMusicRemastered.uqm \
uqm-0.8.0-3dovideo.uqm
do
install -oroot -groot -m0644 $CWD/$i $CONTENT_DIR/addons
done
@ -130,4 +133,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

View file

@ -1,15 +1,15 @@
PRGNAM="uqm-megamod"
VERSION="0.8.1_3"
HOMEPAGE="http://megamod.serosis.net/"
DOWNLOAD="https://github.com/Serosis/UQM-MegaMod/archive/0.8.1-3/UQM-MegaMod-0.8.1-3.tar.gz \
http://files.serosis.net/MegaMod/0.8.1/mm-0.8.1-content.uqm \
http://files.serosis.net/MegaMod/0.8.1/mm-0.8.1-hd.uqm \
http://files.serosis.net/MegaMod/0.8.1/mm-0.8.1-3dovoice.uqm \
http://files.serosis.net/MegaMod/uqm-0.7.0-3DOMusicRemastered.uqm \
http://files.serosis.net/MegaMod/uqm-0.7.0-3dovideo.uqm"
MD5SUM="3537fb0d96dfccaeb215089e595aa012 \
6ca00a5a2c7db3d60a0d5828bd921ce8 \
98f4b2cee09fb59f13661b5cafd017ec \
VERSION="0.8.2"
HOMEPAGE="https://uqm-mods.sourceforge.net/Home"
DOWNLOAD="https://github.com/Serosis/UQM-MegaMod/archive/0.8.2/UQM-MegaMod-0.8.2.tar.gz \
https://downloads.sourceforge.net/project/uqm-mods/MegaMod/0.8.2/Content/mm-0.8.2-content.uqm \
https://downloads.sourceforge.net/project/uqm-mods/MegaMod/0.8.2/Content/mm-0.8.2-hd.uqm \
https://downloads.sourceforge.net/project/uqm-mods/MegaMod/0.8.2/Content/mm-0.8.2-3dovoice.uqm \
https://downloads.sourceforge.net/project/uqm-mods/MegaMod/0.8.2/Content/uqm-0.8.0-3DOMusicRemastered.uqm \
https://downloads.sourceforge.net/project/uqm-mods/MegaMod/0.8.2/Content/uqm-0.8.0-3dovideo.uqm"
MD5SUM="e399ca893a0974889c2423aea8f23570 \
6f21ae41751b4bed4ae98244730b9f97 \
37d1918188df4c60f9f1bb2b0a273e00 \
3be61785ab05344fd315e75d2efa313d \
293a8b036746bcee3823f0b33c2a16a7 \
8412ced77245d2f6cac31feee6df05c6"