aboutsummaryrefslogtreecommitdiff
path: root/games/rogue/rogue.SlackBuild
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2022-03-30 15:45:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:15 +0700
commitba8ada268d804ba18055c618a546181016d7982f (patch)
tree2a16f1f03413c3b4bbff8f845d802a08e3b20c48 /games/rogue/rogue.SlackBuild
parent5008110a82d8a9c4e3ddc8aabe47947200f8e2cc (diff)
games/rogue: Updated for version 5.4.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/rogue/rogue.SlackBuild')
-rw-r--r--games/rogue/rogue.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/games/rogue/rogue.SlackBuild b/games/rogue/rogue.SlackBuild
index 352957b38c3ed..a63d465e4a0a5 100644
--- a/games/rogue/rogue.SlackBuild
+++ b/games/rogue/rogue.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Rogue
-# Copyright 2013, David Melik, Spokane, WA, USA
+# Copyright 2022, David Melik, Spokane, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rogue
-VERSION=${VERSION:-5.4.4}
+VERSION=${VERSION:-5.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM$VERSION
-tar xvf $CWD/$PRGNAM$VERSION-src.tar.gz
+tar xvf $CWD/$PRGNAM$VERSION-ISRUN-2021-03-09.tar.gz
cd $PRGNAM$VERSION
chown -R root:root .
find -L . \
@@ -85,6 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-program-name=rogue \
+ --enable-lockfile \
--enable-scorefile=/var/games/rogue/rogue54.scr \
--build=$ARCH-slackware-linux
@@ -105,6 +107,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.TXT $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install