libraries/gnome-python2-gconf: Change the stripping routine.

Avoids breaking build (probably cause of the newer file)

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-08-08 20:04:06 +02:00 committed by Willy Sudiarto Raharjo
parent a97c31bc50
commit 4fee94826f
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -85,8 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
find $PKG | xargs file | egrep "ELF.*shared object" | cut -f 1 -d : \
| xargs strip --strip-unneeded 2> /dev/null
find $PKG -print0 | xargs -0 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 AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION