summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Nick Smallbone <nick@smallbone.se>2020-09-04 13:46:22 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:47 +0700
commit29c6ce6df5d2ff25c14cf6f1c9f88c196f44cc88 (patch)
tree65032ad806174c0094195ae04f69063dc956daae /games
parent75c736d27bafdb01369d9c9b8dc4ef65292959ea (diff)
downloadslackbuilds-29c6ce6df5d2ff25c14cf6f1c9f88c196f44cc88.tar.gz
slackbuilds-29c6ce6df5d2ff25c14cf6f1c9f88c196f44cc88.tar.xz
games/CorsixTH: Updated for version 0.63.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/CorsixTH/CorsixTH.SlackBuild18
-rw-r--r--games/CorsixTH/CorsixTH.desktop8
-rw-r--r--games/CorsixTH/CorsixTH.info8
3 files changed, 11 insertions, 23 deletions
diff --git a/games/CorsixTH/CorsixTH.SlackBuild b/games/CorsixTH/CorsixTH.SlackBuild
index a6723a6e75..8082e31b98 100644
--- a/games/CorsixTH/CorsixTH.SlackBuild
+++ b/games/CorsixTH/CorsixTH.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CorsixTH
-# Copyright 2019 Nick Smallbone, Gothenburg, Sweden
+# Copyright 2019-2020 Nick Smallbone, Gothenburg, Sweden
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=CorsixTH
-VERSION=${VERSION:-0.62}
+VERSION=${VERSION:-0.63}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,17 +77,13 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
+mv $PKG/usr/share/man $PKG/usr/man
+
+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/share/applications
-cp -a \
- $CWD/$PRGNAM.desktop \
- $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/pixmaps
-cp -a \
- LDocGen/output/logo.png \
- $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/games/CorsixTH/CorsixTH.desktop b/games/CorsixTH/CorsixTH.desktop
deleted file mode 100644
index 6c21c8fbe8..0000000000
--- a/games/CorsixTH/CorsixTH.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=CorsixTH
-Comment=An open source Theme Hospital clone
-Exec=corsix-th
-Icon=CorsixTH
-StartupNotify=false
-Categories=Game;
diff --git a/games/CorsixTH/CorsixTH.info b/games/CorsixTH/CorsixTH.info
index 69bb203c13..f596efe8a1 100644
--- a/games/CorsixTH/CorsixTH.info
+++ b/games/CorsixTH/CorsixTH.info
@@ -1,10 +1,10 @@
PRGNAM="CorsixTH"
-VERSION="0.62"
+VERSION="0.63"
HOMEPAGE="http://corsixth.com"
-DOWNLOAD="https://github.com/CorsixTH/CorsixTH/archive/v0.62/CorsixTH-0.62.tar.gz"
-MD5SUM="490d2fa01467913c77ae8cbc7ed9d3d8"
+DOWNLOAD="https://github.com/CorsixTH/CorsixTH/archive/v0.63/CorsixTH-0.63.tar.gz"
+MD5SUM="83b0787a0fb2a19eea45b069e023d844"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2_mixer lua-filesystem lua-lpeg ffmpeg"
+REQUIRES="SDL2 SDL2_mixer lua ffmpeg"
MAINTAINER="Nick Smallbone"
EMAIL="nick@smallbone.se"