libraries/pygame: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:39:05 -04:00
parent 58b432a41a
commit e360b555c7

View file

@ -29,12 +29,8 @@ chmod -R u+w,go+r-w,a-s .
python -u config.py || exit 1
python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
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
mkdir -p $PKG/usr/doc/$NAME-$VERSION
cp -a PKG-INFO WHATSNEW install.html readme.txt docs/* examples \