aboutsummaryrefslogtreecommitdiff
path: root/games/simsu
diff options
context:
space:
mode:
Diffstat (limited to 'games/simsu')
-rw-r--r--games/simsu/simsu.SlackBuild10
-rw-r--r--games/simsu/simsu.info6
2 files changed, 11 insertions, 5 deletions
diff --git a/games/simsu/simsu.SlackBuild b/games/simsu/simsu.SlackBuild
index 5c9f077100b7..96c9c8259d02 100644
--- a/games/simsu/simsu.SlackBuild
+++ b/games/simsu/simsu.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=simsu
-VERSION=${VERSION:-1.2.3}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,12 +68,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix man page location
+sed -i 's|$$PREFIX/share/man/|$$PREFIX/man/|' simsu.pro
+
qmake PREFIX=/usr
make install INSTALL_ROOT=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog CREDITS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/simsu/simsu.info b/games/simsu/simsu.info
index fbeac30372c1..8dfbeced0857 100644
--- a/games/simsu/simsu.info
+++ b/games/simsu/simsu.info
@@ -1,8 +1,8 @@
PRGNAM="simsu"
-VERSION="1.2.3"
+VERSION="1.4.0"
HOMEPAGE="https://gottcode.org/simsu/"
-DOWNLOAD="https://gottcode.org/simsu/simsu-1.2.3-src.tar.bz2"
-MD5SUM="0cec2e7eda6384d547d922961843435c"
+DOWNLOAD="https://gottcode.org/simsu/simsu-1.4.0-src.tar.bz2"
+MD5SUM="b1f6263cfa07c8a263ed2a649a3eb5ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""