libraries/allegro: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:35:37 -04:00
parent 22188c2c9e
commit 4b588e55a5

View file

@ -74,12 +74,8 @@ make install DESTDIR=$PKG || exit 1
make install-gzipped-man DESTDIR=$PKG || exit 1
make install-gzipped-info DESTDIR=$PKG || exit 1
( 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/$PRGNAM-$VERSION
cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION