summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2018-05-18 12:09:01 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-19 00:45:06 +0100
commitf65e38038e35a1fdc53b9285cf59ca3ad880d1cf (patch)
tree2f5cdbde08bbc60f05dff6a01a185855ebab0f4d
parent4cd95c6c768874585d1d7d69c689a0f1e1ac4e9b (diff)
downloadslackbuilds-f65e38038e35a1fdc53b9285cf59ca3ad880d1cf.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 {} +