diff options
author | Dugan Chen <thedoogster@gmail.com> | 2012-07-10 09:30:46 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-07-10 09:30:46 -0400 |
commit | 82df8bf7d4e821de3c8f0ad6d514d2c6fafaa403 (patch) | |
tree | 36b1607ae434af16387a041fc2474f834658130b /games/nethack/nethack.SlackBuild | |
parent | 42ab8b21aee3a63a51d7e1eb892b56076e90fbab (diff) | |
download | slackbuilds-82df8bf7d4e821de3c8f0ad6d514d2c6fafaa403.tar.gz |
games/nethack: Minor cleanups.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/nethack/nethack.SlackBuild')
-rw-r--r-- | games/nethack/nethack.SlackBuild | 5 |
1 files changed, 2 insertions, 3 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|' \ |