summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-04 08:57:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:30 +0700
commit997271d6936f3e1962d02e2f2953cec52ef5ac1c (patch)
tree903111718525af25f3bc0a4eff2da321ed86e7bc
parent383bd91e2e61ff1b918d321d00a7fdc21bbe9115 (diff)
downloadslackbuilds-997271d6936f3e1962d02e2f2953cec52ef5ac1c.tar.gz
network/slack: Fix path on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/slack/slack.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/slack/slack.SlackBuild b/network/slack/slack.SlackBuild
index 25304fd5e9..2e92faf87d 100644
--- a/network/slack/slack.SlackBuild
+++ b/network/slack/slack.SlackBuild
@@ -93,6 +93,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $PKG/usr/lib/slack/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+if [ "$ARCH" = "x86_64" ]; then
+ mv $PKG/usr/lib $PKG/usr/lib64
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh