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>
This commit is contained in:
David Melik 2022-03-30 15:45:41 +01:00 committed by Willy Sudiarto Raharjo
parent 5008110a82
commit ba8ada268d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 22 additions and 7 deletions

View file

@ -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

11
games/rogue/rogue.desktop Normal file
View file

@ -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

View file

@ -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=""