libraries/libversion: Fix build on x86.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-31 23:47:09 +07:00
parent 7eeada8fe1
commit 9ea9056cb9
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -82,11 +82,12 @@ cd ..
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
mv -u $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
if [ "$ARCH" = "x86_64" ]; then
mv -u $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES.md COPYING README.md TODO.md \
cp -a CHANGES.md COPYING README.md TODO.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild