summaryrefslogtreecommitdiffstats
path: root/development/mrustc/mrustc.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2018-06-23 10:58:48 +0200
committer Willy Sudiarto Raharjo2018-06-30 02:00:18 +0200
commit7d64afd6a89dcd8455cff5c2ae1ad1743e70a8ed (patch)
tree7d22dc6948c16e544d9563c83765e9794a779137 /development/mrustc/mrustc.SlackBuild
parent9dd4cfcd64fb2b27c2737d9e9806315bde793bd1 (diff)
downloadslackbuilds-7d64afd6a89dcd8455cff5c2ae1ad1743e70a8ed.tar.gz
development/mrustc: Updated for version gitb03d61e.
Diffstat (limited to 'development/mrustc/mrustc.SlackBuild')
-rw-r--r--development/mrustc/mrustc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/mrustc/mrustc.SlackBuild b/development/mrustc/mrustc.SlackBuild
index ba3390b6aa..13174dda14 100644
--- a/development/mrustc/mrustc.SlackBuild
+++ b/development/mrustc/mrustc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mrustc
-GITREV=${GITREV:-5206b786247238f32a2b5ad8ed7f6d378a1d2d12}
+GITREV=${GITREV:-b03d61ed130dad6fa88a3beb4c32e48f86fdf84e}
VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')}
RUSTCVERSION=${RUSTCVERSION:-1.19.0}
BUILD=${BUILD:-1}
@@ -104,6 +104,8 @@ find output -name '*.hir' -maxdepth 1 -exec install -m 0644 {} $PKG/usr/share/mr
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/rustlib/$ARCH-unknown-linux-gnu/lib/
cp -a run_rustc/prefix/lib/rustlib/$ARCH-unknown-linux-gnu/lib/* $PKG/usr/lib$LIBDIRSUFFIX/rustlib/$ARCH-unknown-linux-gnu/lib/
+find $PKG/usr/lib$LIBDIRSUFFIX -name "*.so" -exec chmod 755 "{}" \;
+
install -m 0755 output/rustc $PKG/usr/bin/rustc
install -m 0755 output/cargo $PKG/usr/bin/cargo
install -m 0755 output/rustc-build/rustdoc $PKG/usr/bin/rustdoc