diff options
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 5667226fbd360..92a7aa5bc7e77 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|' \ |