summaryrefslogtreecommitdiffstats
path: root/games/nethack
diff options
context:
space:
mode:
author Dugan Chen2012-07-10 15:30:46 +0200
committer dsomero2012-07-10 15:30:46 +0200
commit82df8bf7d4e821de3c8f0ad6d514d2c6fafaa403 (patch)
tree36b1607ae434af16387a041fc2474f834658130b /games/nethack
parent42ab8b21aee3a63a51d7e1eb892b56076e90fbab (diff)
downloadslackbuilds-82df8bf7d4e821de3c8f0ad6d514d2c6fafaa403.tar.gz
games/nethack: Minor cleanups.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/nethack')
-rw-r--r--games/nethack/nethack.SlackBuild5
-rw-r--r--games/nethack/nethack.info2
-rw-r--r--games/nethack/slack-desc6
3 files changed, 6 insertions, 7 deletions
diff --git a/games/nethack/nethack.SlackBuild b/games/nethack/nethack.SlackBuild
index 5667226fbd..92a7aa5bc7 100644
--- a/games/nethack/nethack.SlackBuild
+++ b/games/nethack/nethack.SlackBuild
@@ -6,10 +6,11 @@
PRGNAM=nethack
VERSION=${VERSION:-3.4.3}
-SRCVER=${SRCVER:-343}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${SRCVER:-343}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -45,7 +46,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$SRCVER-src.tgz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -68,7 +68,6 @@ sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
# we are setting up for setgid games, so modify all necessary permissions
# to allow full access for groups
-
sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/var/games/$(GAME)|' \
-e '/^GAMEUID\s*=/ s|games|root|' \
-e '/^GAMEGRP\s*=/ s|bin|games|' \
diff --git a/games/nethack/nethack.info b/games/nethack/nethack.info
index 00c0249d19..533e8e19fb 100644
--- a/games/nethack/nethack.info
+++ b/games/nethack/nethack.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Dugan Chen"
EMAIL="thedoogster@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"
diff --git a/games/nethack/slack-desc b/games/nethack/slack-desc
index e3e92242d9..e313047986 100644
--- a/games/nethack/slack-desc
+++ b/games/nethack/slack-desc
@@ -11,9 +11,9 @@ nethack:
nethack: Nethack is a single-player dungeon exploration game. The emphasis is
nethack: on discovering the detail of the dungeon. Each game presents a
nethack: different landscape - the random number generator provides an
-nethack: essentially unlimited number of variations of the dungeon and its
+nethack: essentially unlimited number of variations of the dungeon and its
nethack: denizens to be discovered by the player in one of a number of
nethack: characters: you can pick your race, your role, and your gender.
-nethack:
+nethack:
nethack: http://nethack.org
-nethack:
+nethack: