aboutsummaryrefslogtreecommitdiff
path: root/games/berusky2
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2024-01-18 19:16:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-20 09:16:21 +0700
commit83ba6ce9a57baff8ce15693230cc4950b481cb1a (patch)
tree3e53c4c5bd02299e535d949fff824aec2e9fba67 /games/berusky2
parent4842b3e67357adb18a28ddb773d624bf2a7a13c6 (diff)
games/berusky2: Updated for version 0.12.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/berusky2')
-rw-r--r--games/berusky2/berusky2.SlackBuild15
-rw-r--r--games/berusky2/berusky2.info8
2 files changed, 8 insertions, 15 deletions
diff --git a/games/berusky2/berusky2.SlackBuild b/games/berusky2/berusky2.SlackBuild
index 5f74399217a9c..a7925e511bcdb 100644
--- a/games/berusky2/berusky2.SlackBuild
+++ b/games/berusky2/berusky2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for berusky2
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,17 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
-# - fix build on 15.0.
-# - binary in /usr/games.
-# - fix .desktop.
-
-# Note: tried updating to v0.12, it builds but segfaults on startup.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=berusky2
-VERSION=${VERSION:-20170630_974e2e5}
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -86,7 +79,7 @@ find -L . \
# 20220222 bkw: ordered comparison of pointer and int. in later
# versions of berusky2, the code in the body of this "if" always
# executes, so "if(1)" does the same thing here.
-sed -i 's,if (iPos >= 0),if(1),' src/kofola/game_logic.cpp
+# sed -i 's,if (iPos >= 0),if(1),' src/kofola/game_logic.cpp
autoreconf -fi
diff --git a/games/berusky2/berusky2.info b/games/berusky2/berusky2.info
index 7db48900d120e..7f74f09e96dd2 100644
--- a/games/berusky2/berusky2.info
+++ b/games/berusky2/berusky2.info
@@ -1,10 +1,10 @@
PRGNAM="berusky2"
-VERSION="20170630_974e2e5"
+VERSION="0.12"
HOMEPAGE="http://anakreon.cz/?q=node/2"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/berusky2-20170630_974e2e5.tar.xz"
-MD5SUM="f4a1306eeff8a38591898cafa6d1934d"
+DOWNLOAD="https://anakreon.cz/download/berusky2-0.12.tar.gz"
+MD5SUM="d36eff2369279bf16546c4e20c1a379a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="freealut berusky2-data"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"