summaryrefslogtreecommitdiffstats
path: root/games/berusky2/berusky2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/berusky2/berusky2.SlackBuild')
-rw-r--r--games/berusky2/berusky2.SlackBuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/games/berusky2/berusky2.SlackBuild b/games/berusky2/berusky2.SlackBuild
index 5f74399217..a7925e511b 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