games/fceux: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:34:24 -04:00
parent 58d6c85b70
commit 213a81fec1

View file

@ -65,12 +65,8 @@ cp ChangeLog COPYING INSTALL TODO \
# This is supposed to work with gtk+2-2.14.x as well...
sed -i "s%2.16%2.14%" $PKG/usr/share/gfceux/gfceux.glade
( 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild