mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
4842b3e673
commit
83ba6ce9a5
2 changed files with 8 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue