diff options
-rw-r--r-- | games/oolite/oolite.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/games/oolite/oolite.SlackBuild b/games/oolite/oolite.SlackBuild index 9002397162a35..a09fa8cdaa62b 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 {} + |