From f65e38038e35a1fdc53b9285cf59ca3ad880d1cf Mon Sep 17 00:00:00 2001 From: Johannes Schoepfer Date: Fri, 18 May 2018 12:09:01 +0100 Subject: games/oolite: Updated for version 1.86. Signed-off-by: David Spencer --- games/oolite/oolite.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'games/oolite') diff --git a/games/oolite/oolite.SlackBuild b/games/oolite/oolite.SlackBuild index 9002397162..a09fa8cdaa 100644 --- a/games/oolite/oolite.SlackBuild +++ b/games/oolite/oolite.SlackBuild @@ -75,12 +75,14 @@ sed -i "/ADDITIONAL_OBJSLKFLAGS/s/=/= -fobjc-exceptions ${SLKCFLAGS}/" GNUmakefi make -f libjs.make debug=no make -f Makefile ESPEAK=yes release-deployment -mkdir -p $PKG/usr/share/oolite +mkdir -p $PKG/usr/share/{oolite,pixmaps,applications} cp -a oolite.app/* $PKG/usr/share/oolite/ +cp installers/FreeDesktop/oolite-icon.png $PKG/usr/share/pixmaps +cp installers/FreeDesktop/oolite.desktop $PKG/usr/share/applications find $PKG -type f -exec file {} + | fgrep -e "executable" -e "shared object" | fgrep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir $PKG/usr/games +mkdir -p $PKG/usr/games cat << 'EOF' > $PKG/usr/games/oolite #!/bin/bash source /usr/share/GNUstep/Makefiles/GNUstep.sh @@ -91,9 +93,6 @@ source /usr/share/GNUstep/Makefiles/GNUstep.sh EOF chmod 755 $PKG/usr/games/oolite -cp installers/FreeDesktop/oolite-icon.png $PKG/usr/share/pixmaps -cp installers/FreeDesktop/oolite.desktop $PKG/usr/share/applications - mkdir -p $PKG/usr/man/man6 cp debian/oolite.6 $PKG/usr/man/man6 find $PKG/usr/man -type f -exec gzip -9 {} + -- cgit v1.2.3