aboutsummaryrefslogtreecommitdiff
path: root/games/rogue
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
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')
-rw-r--r--games/rogue/rogue.SlackBuild10
-rw-r--r--games/rogue/rogue.desktop11
-rw-r--r--games/rogue/rogue.info8
3 files changed, 22 insertions, 7 deletions
diff --git a/games/rogue/rogue.SlackBuild b/games/rogue/rogue.SlackBuild
index 352957b38c3e..a63d465e4a0a 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
diff --git a/games/rogue/rogue.desktop b/games/rogue/rogue.desktop
new file mode 100644
index 000000000000..29e23a0eacaf
--- /dev/null
+++ b/games/rogue/rogue.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Rogue
+GenericName=Rogue
+Comment=The original curses-based adventure game
+Exec=rogue
+Icon=rogue.png
+Terminal=true
+Type=Application
+Categories=Game;RolePlaying;
+Version=5.4.5
diff --git a/games/rogue/rogue.info b/games/rogue/rogue.info
index 19458455eeb8..9866804a7523 100644
--- a/games/rogue/rogue.info
+++ b/games/rogue/rogue.info
@@ -1,8 +1,8 @@
PRGNAM="rogue"
-VERSION="5.4.4"
-HOMEPAGE="https://github.com/Davidslv/rogue"
-DOWNLOAD="http://ftp.mirrorservice.org/sites/distfiles.macports.org/rogue/rogue5.4.4-src.tar.gz"
-MD5SUM="033288f46444b06814c81ea69d96e075"
+VERSION="5.4.5"
+HOMEPAGE="http://www.operationalsecurity.es/category/roguelikes.html"
+DOWNLOAD="http://www.operationalsecurity.es/files/rogue5.4.5-ISRUN-2021-03-09.tar.gz"
+MD5SUM="22a3e247029ed27204a79bc9bc2a5521"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""