From cc67dc7a20a0a35c0dd43c23a80e8c8f4e4158f4 Mon Sep 17 00:00:00 2001 From: David Melik Date: Sun, 1 Oct 2017 11:57:49 +0100 Subject: [PATCH] games/moria: Fixed download. Signed-off-by: David Spencer --- games/moria/README | 22 +++++++++++----------- games/moria/doinst.sh | 4 ---- games/moria/moria.SlackBuild | 8 ++++---- games/moria/moria.info | 4 ++-- 4 files changed, 17 insertions(+), 21 deletions(-) diff --git a/games/moria/README b/games/moria/README index e538f73b14..b7f8315225 100644 --- a/games/moria/README +++ b/games/moria/README @@ -1,13 +1,13 @@ -Moria/UMoria is a single player roguelike game with a regenerating -dungeon. moria is the predecessor of angband with a full-screen, -text-based, turn-based interface. It features scrolling maps, and -an infinite (constantly regenerated) dungeon. +Moria/UMoria is a single player roguelike game with a regenerating +dungeon. moria is the predecessor of angband with a full-screen, +text-based, turn-based interface. It features scrolling maps, and +an infinite (constantly regenerated) dungeon. -Moria's dungeons are populated by monsters, some of which are -inspired by J.R.R. Tolkien's books. The goal of the game is to -find and kill the Balrog, whereupon the player is crowned King. -Your player can be created from a combination of 8 races (human, -half-elf, elf, halfling, gnome, dwarf, half-orc, half-troll) and -6 classes (warrior, mage, priest, rogue, ranger, paladin), and is -measured by 6 attributes (strength, dexterity, intelligence, +Moria's dungeons are populated by monsters, some of which are +inspired by J.R.R. Tolkien's books. The goal of the game is to +find and kill the Balrog, whereupon the player is crowned King. +Your player can be created from a combination of 8 races (human, +half-elf, elf, halfling, gnome, dwarf, half-orc, half-troll) and +6 classes (warrior, mage, priest, rogue, ranger, paladin), and is +measured by 6 attributes (strength, dexterity, intelligence, wisdom, constitution, and charisma). diff --git a/games/moria/doinst.sh b/games/moria/doinst.sh index 9bddea8390..083f993f55 100644 --- a/games/moria/doinst.sh +++ b/games/moria/doinst.sh @@ -11,7 +11,3 @@ config() { config var/games/moria/scores.new config etc/moria-hours.new -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/games/moria/moria.SlackBuild b/games/moria/moria.SlackBuild index a62113f6a3..0b45a53a0d 100644 --- a/games/moria/moria.SlackBuild +++ b/games/moria/moria.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Moria -# Copyright 2013, David Melik, Spokane, WA, USA +# Copyright 2013, SlackBuilds.org Project, David Melik, Spokane, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION.debian.1 +tar xvf $CWD/${PRGNAM}_${VERSION}.debian.1.orig.tar.gz +cd $PRGNAM-$VERSION.debian.1 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/games/moria/moria.info b/games/moria/moria.info index 81c2e0f510..33d30a7f20 100644 --- a/games/moria/moria.info +++ b/games/moria/moria.info @@ -1,8 +1,8 @@ PRGNAM="moria" VERSION="5.6" HOMEPAGE="http://www.remarque.org/~grabiner/moria.html" -DOWNLOAD="http://www.asselstine.com/moria-5.6.tar.gz" -MD5SUM="09fd637948e3486730c88e8e15eb42fa" +DOWNLOAD="http://http.debian.net/debian/pool/main/m/moria/moria_5.6.debian.1.orig.tar.gz" +MD5SUM="67d4396cd4cccac2bf6abff3dc090b6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""