diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2022-03-02 10:24:13 -0700 |
---|---|---|
committer | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-05 00:18:22 +1300 |
commit | 3ab4d5bc6912b920a4e6c52de5efd4cf8b31ba69 (patch) | |
tree | 0ceb93366b338b8b935f567d9d4104876e68ce41 /games | |
parent | 1e0fad2057ee5d688e407f001adc46d63f81ddf1 (diff) |
games/simsu: Updated for version 1.4.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/simsu/simsu.SlackBuild | 10 | ||||
-rw-r--r-- | games/simsu/simsu.info | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/games/simsu/simsu.SlackBuild b/games/simsu/simsu.SlackBuild index 5c9f077100b70..96c9c8259d02a 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 fbeac30372c16..8dfbeced08574 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="" |