summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhollywoodb <hollywoodb@fastmail.fm>2010-05-11 19:44:40 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:40 +0200
commite635901aa8229a9a82c423419f20f79676a87428 (patch)
tree4bab1256b14c5c02012a3b97dca08d6c90a916c2
parent1cf51a7bc8b09f5d09f4b650979f23e196f3fc4d (diff)
downloadslackbuilds-e635901aa8229a9a82c423419f20f79676a87428.tar.gz
games/moria: Updated for version 5.5.2
-rw-r--r--games/moria/README1
-rw-r--r--games/moria/moria.SlackBuild9
-rw-r--r--games/moria/moria.info2
-rw-r--r--games/moria/slack-desc12
4 files changed, 14 insertions, 10 deletions
diff --git a/games/moria/README b/games/moria/README
index 6c5f8160c0..314f980880 100644
--- a/games/moria/README
+++ b/games/moria/README
@@ -15,4 +15,3 @@ constitution, and charisma).
NOTE: despite the package name, this is actually UMORIA 5.5.2.
Also, this is a repackaging of Debian's binary, as the original source
seems to be impossible to find.
-
diff --git a/games/moria/moria.SlackBuild b/games/moria/moria.SlackBuild
index 67d4cba237..94eb329a1b 100644
--- a/games/moria/moria.SlackBuild
+++ b/games/moria/moria.SlackBuild
@@ -9,11 +9,6 @@
# Modified by the SlackBuilds.org project
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit
-fi
-
set -e
NAME=moria
@@ -22,7 +17,7 @@ DEBVERSION=5.5.2-5
ARCH=i386 # Leave this alone - this is a binary repackaging
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$NAME}
OUTPUT=${OUTPUT:-/tmp}
@@ -31,7 +26,7 @@ rm -rf $PKG
mkdir -p $TMP/$NAME-$VERSION $PKG $OUTPUT
cd $TMP/$NAME-$VERSION
ar x $CWD/${NAME}_${DEBVERSION}_${ARCH}.deb
-tar -C $PKG -zxf data.tar.gz
+tar zxf data.tar.gz -C $PKG
chown root:root $PKG/usr/games/moria
mv $PKG/usr/share/* $PKG/usr/
diff --git a/games/moria/moria.info b/games/moria/moria.info
index 2b3f840406..2721b5689b 100644
--- a/games/moria/moria.info
+++ b/games/moria/moria.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://http.us.debian.org/debian/pool/non-free/m/moria/moria_5.5.2-5_i
MD5SUM="2b8dc9e3457ff13db2a069f5b0940925"
MAINTAINER="hollywoodb"
EMAIL="hollywoodb@fastmail.fm"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/games/moria/slack-desc b/games/moria/slack-desc
index 8722dd2775..0c1678a018 100644
--- a/games/moria/slack-desc
+++ b/games/moria/slack-desc
@@ -1,9 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
moria: moria (a roguelike game)
moria:
moria: A single player roguelike game with a regenerating dungeon, moria is
-moria: the predecessor of angband with a full-screen, text-based, turn-based
+moria: the predecessor of angband with a fullscreen, text-based, turn-based
moria: interface. It features scrolling maps, and an infinite (constantly
moria: regenerated) dungeon.
moria:
moria:
moria:
+moria:
+moria: