summaryrefslogtreecommitdiff
path: root/games/doomseeker/doomseeker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/doomseeker/doomseeker.SlackBuild')
-rw-r--r--games/doomseeker/doomseeker.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild
index 19d3e38337..bdbaeb5aae 100644
--- a/games/doomseeker/doomseeker.SlackBuild
+++ b/games/doomseeker/doomseeker.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=doomseeker
-VERSION=${VERSION:-0.10b}
+VERSION=${VERSION:-0.11.1b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,11 +69,11 @@ cd build
cd ..
# Shared lib gets installed to wrong place, easier to fix it here than patch.
-# Also note, doomseeker violates the FHS by placing shared objects in /usr/share
-# (but I won't try to fix that).
-if [ "$LIBDIRSUFFIX" != "" ]; then
- mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
-fi
+# Also note, doomseeker violates the FHS by placing shared objects in /usr/share.
+# I won't try to fix that, but I will strip them.
+[ "$LIBDIRSUFFIX" != "" ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
+chmod 755 $PKG/usr/share/$PRGNAM/engines/*.so
+strip $PKG/usr/share/$PRGNAM/engines/*.so
# Fix the .desktop file
sed -i \
@@ -88,6 +88,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# Not only do they not ship docs, there aren't really any on their
# web site, either. At least the GUI's easy to figure out.
+chmod -x LICENSE*
cp -a LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild