diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-01 14:38:58 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:08:53 +0700 |
commit | 58b4dbfd8c5bd33d69da5e7b0f0b9c6df37395a6 (patch) | |
tree | 69f5e7ddb2f8558ade0589492f3d3ab7072eb11f /games/nblood/nblood.SlackBuild | |
parent | fa33c9b46dca63a8f140703a3580d55226c9d945 (diff) |
games/nblood: Updated for version 1.01+20211016_b90417ed8.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nblood/nblood.SlackBuild')
-rw-r--r-- | games/nblood/nblood.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/games/nblood/nblood.SlackBuild b/games/nblood/nblood.SlackBuild index 18c361cc610d2..9a22d57a8fea2 100644 --- a/games/nblood/nblood.SlackBuild +++ b/games/nblood/nblood.SlackBuild @@ -16,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nblood -VERSION=${VERSION:-1.01+20200428_069c52b26} +VERSION=${VERSION:-1.01+20211016_b90417ed8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -29,9 +29,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -65,19 +62,20 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # nblood looks in /usr/share/games/nblood/, which is fine. -# pcexhumed doesn't look in /usr anywhere, so I'll make up a dir name -# for it to use. -sed -i \ - '/^ *addsearchpath(cwd);/aaddsearchpath("/usr/share/games/pcexhumed");' \ - source/exhumed/src/exhumed.cpp +# pcexhumed now looks in /usr/share/games/pcexhumed, which is also the +# dir I used to patch it to use. # The engine wants to write a log file in the current directory where # it gets run... and segfaults if it can't. The log file is just a copy # of the process's stderr it looks like, so let's disable it. sed -i.bak \ 's|OSD_SetLogFile(APPBASENAME ".log");|OSD_SetLogFile("/dev/null");|' \ - source/blood/src/blood.cpp \ + source/duke3d/src/game.cpp \ + source/tekwar/src/tekgame.cpp \ + source/sw/src/game.cpp \ source/rr/src/game.cpp \ + source/blood/src/blood.cpp \ + source/witchaven/src/witchaven.cpp \ source/exhumed/src/exhumed.cpp make @@ -116,7 +114,7 @@ for icon in $CWD/icons/*.png; do done mkdir -p $PKG/usr/share/pixmaps -cat $CWD/icons/64.png > $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.md source/blood/gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION |