games/simsu: Updated for version 1.4.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Jeremy Hansen 2022-03-02 10:24:13 -07:00 committed by Andrew Clemons
parent 1e0fad2057
commit 3ab4d5bc69
No known key found for this signature in database
GPG key ID: CD26380FFACBDA2B
2 changed files with 11 additions and 5 deletions

View file

@ -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

View file

@ -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=""