games/egoboo: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:34:23 -04:00
parent 91d12617ef
commit 58d6c85b70

View file

@ -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