aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libversion/libversion.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild
index 19e9e51df789..179444d3dc8b 100644
--- a/libraries/libversion/libversion.SlackBuild
+++ b/libraries/libversion/libversion.SlackBuild
@@ -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