mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libversion: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7eeada8fe1
commit
9ea9056cb9
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue