summaryrefslogtreecommitdiff
path: root/games/stella/stella.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:42 -0400
commit40c5dc224483f8a3b008e874b823a2334d8f3213 (patch)
treefb3e442104150bd5193cac4e36dd5eccecdb8a07 /games/stella/stella.SlackBuild
parentfc437969bb8bf1b5771b3254fe0140a306ac5a4d (diff)
downloadslackbuilds-40c5dc224483f8a3b008e874b823a2334d8f3213.tar.gz
games/stella: Fixed for bash4.
Diffstat (limited to 'games/stella/stella.SlackBuild')
-rw-r--r--games/stella/stella.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index 00370a4f1e..59777faa8f 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -54,12 +54,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/{applications,pixmaps}
mv -f $PKG/usr/share/$PRGNAM/applications/stella.desktop $PKG/usr/share/applications