aboutsummaryrefslogtreecommitdiff
path: root/games/nethack/nethack.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2019-06-02 18:07:38 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-09 05:33:19 +0700
commit5f2bafbe9387d4f6e29415e1bff74ed2d8a1cee9 (patch)
tree710514e91d79ef1272fafe78ef092c20d2b00bab /games/nethack/nethack.SlackBuild
parent6f2f6d7cca61d6dccb7451829115bb9125c742af (diff)
games/nethack: Updated for version 3.6.2.
Diffstat (limited to 'games/nethack/nethack.SlackBuild')
-rw-r--r--games/nethack/nethack.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/nethack/nethack.SlackBuild b/games/nethack/nethack.SlackBuild
index d0921fd38d8d..f9061f8ead5b 100644
--- a/games/nethack/nethack.SlackBuild
+++ b/games/nethack/nethack.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dugan Chen (thedoogster [at] gmail [dot] com)
# Based on the Arch Linux PkgBuild.
-# Now maintained by David Woodfall <dave@dawoodfall.net>
+# Now maintained by Dave Woodfall <dave@slackbuilds.org>
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,11 +25,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nethack
-VERSION=${VERSION:-3.6.1}
+VERSION=${VERSION:-3.6.2}
+SRCVERSION=$(echo $VERSION | sed "s,\.,,g")
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVER=${SRCVER:-361}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -64,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER-src.tgz
+tar xvf $CWD/$PRGNAM-$SRCVERSION-src.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \