summaryrefslogtreecommitdiffstats
path: root/source/d/rust/rust.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-08-03 06:55:27 +0000
committer Eric Hameleers <alien@slackware.com>2021-08-03 18:00:00 +0200
commit0eea0f62d298c91818c5842cd7877a5052afc38b (patch)
tree1293dfd15c1cf845715b7eaa4a8b2288aa17b219 /source/d/rust/rust.SlackBuild
parent152965cf4d11ac18d5fdfe8f7202e4c0cd6cfb94 (diff)
downloadcurrent-0eea0f62d298c91818c5842cd7877a5052afc38b.tar.gz
current-0eea0f62d298c91818c5842cd7877a5052afc38b.tar.xz
Tue Aug 3 06:55:27 UTC 202120210803065527
a/libcgroup-0.41-x86_64-10.txz: Rebuilt. Added LANG=C to the build script. ap/diffutils-3.8-x86_64-1.txz: Upgraded. d/re2c-2.2-x86_64-1.txz: Upgraded. d/rust-1.54.0-x86_64-2.txz: Rebuilt. Move bash completions to /usr/share/bash-completion/completions/. Thanks to Robby Workman. kde/calligra-3.2.1-x86_64-10.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/cantor-21.04.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/kfilemetadata-5.84.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/kile-2.9.93-x86_64-10.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/kitinerary-21.04.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/krita-4.4.5-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.08.0. kde/okular-21.04.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.08.0. l/jasper-2.0.33-x86_64-1.txz: Upgraded. l/poppler-21.08.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-charset-normalizer-2.0.4-x86_64-1.txz: Upgraded. n/libmbim-1.26.0-x86_64-1.txz: Upgraded. x/libXfont2-2.0.5-x86_64-1.txz: Upgraded. x/libXft-2.3.4-x86_64-1.txz: Upgraded. x/xeyes-1.2.0-x86_64-1.txz: Upgraded. x/xorg-cf-files-1.0.7-x86_64-1.txz: Upgraded. x/xwd-1.0.8-x86_64-1.txz: Upgraded. xfce/mousepad-0.5.6-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rwxr-xr-xsource/d/rust/rust.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 9015b5897..230567294 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
VERSION=${VERSION:-1.54.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
# YES is probably better (when it works...)
@@ -246,6 +246,13 @@ sed -i "s,/tmp/package-rust/,/,g" $PKG/usr/lib$LIBDIRSUFFIX/rustlib/install.log
# And a little compression doesn't hurt either:
gzip -9 $PKG/usr/lib$LIBDIRSUFFIX/rustlib/manifest-*
+# Move bash completions to the system location:
+if [ -d $PKG/etc/bash_completion.d ]; then
+ mkdir -p $PKG/usr/share/bash-completion
+ mv $PKG/etc/bash_completion.d $PKG/usr/share/bash-completion/completions
+ rmdir $PKG/etc 2> /dev/null
+fi
+
# Correct permissions on shared libraries:
find $PKG/usr/lib$LIBDIRSUFFIX -name "*.so" -exec chmod 755 "{}" \+