diff options
Diffstat (limited to 'games/micropolis')
-rw-r--r-- | games/micropolis/doinst.sh | 5 | ||||
-rw-r--r-- | games/micropolis/micropolis.SlackBuild | 7 | ||||
-rw-r--r-- | games/micropolis/micropolis.info | 2 |
3 files changed, 10 insertions, 4 deletions
diff --git a/games/micropolis/doinst.sh b/games/micropolis/doinst.sh index e4e6459838..9424ce43ff 100644 --- a/games/micropolis/doinst.sh +++ b/games/micropolis/doinst.sh @@ -6,3 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/games/micropolis/micropolis.SlackBuild b/games/micropolis/micropolis.SlackBuild index 8c05a6f5e5..b964a874b9 100644 --- a/games/micropolis/micropolis.SlackBuild +++ b/games/micropolis/micropolis.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Micropolis -# Now maintained by B. Watson <yalhcru@gmail.com>, please don't bother +# Now maintained by B. Watson <urchlay@slackware.uk>, please don't bother # Chess with questions about this build (bother me instead) # Copyright 2008-2009 Chess Griffin <email removed> @@ -25,13 +25,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230107 bkw: BUILD=5, fix doinst.sh. # 20211022 bkw: BUILD=4, new-style icons. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=micropolis VERSION=${VERSION:-20100418} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,7 +93,7 @@ run_make() { DOCDIR=$DOCDIR \ DATADIR=/usr/share/games/$PRGNAM \ BINDIR=/usr/games \ - SLKCFLAGS="$SLKCFLAGS -DTCL_IEEE_FP_MATH" \ + SLKCFLAGS="$SLKCFLAGS -DTCL_IEEE_FP_MATH -fpermissive" \ DESTDIR=$PKG \ "$@" } diff --git a/games/micropolis/micropolis.info b/games/micropolis/micropolis.info index dd4282ae9f..421105662d 100644 --- a/games/micropolis/micropolis.info +++ b/games/micropolis/micropolis.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |