summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Johannes Schoepfer2018-05-18 13:09:01 +0200
committer David Spencer2018-05-19 01:45:06 +0200
commit72d8a9db30e12d6d86bf25422618f4ce7c08a92a (patch)
tree188bfdacad5b4e50a9fb59cbf4c5bfe5fe149a89
parent7567176a62044058fcaea60520e265d0ddf8838a (diff)
downloadold.slackbuilds-72d8a9db30e12d6d86bf25422618f4ce7c08a92a.tar.gz
games/oolite: Updated for version 1.86.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/oolite/oolite.SlackBuild9
1 files changed, 4 insertions, 5 deletions
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 {} +