summaryrefslogtreecommitdiff
path: root/games/egoboo/egoboo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/egoboo/egoboo.SlackBuild')
-rw-r--r--games/egoboo/egoboo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/egoboo/egoboo.SlackBuild b/games/egoboo/egoboo.SlackBuild
index 5105cd9efc..23456ff293 100644
--- a/games/egoboo/egoboo.SlackBuild
+++ b/games/egoboo/egoboo.SlackBuild
@@ -52,12 +52,8 @@ make -C game -f Makefile.unix PREFIX=$PKG/usr install
mkdir -p $PKG/usr/share/$PRGNAM
cp -rf controls.txt setup.txt basicdat/ modules/ players/ $PKG/usr/share/$PRGNAM/
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install icon and desktop files
install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png