aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 07:20:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 07:20:29 +0700
commit85bb4a82cbda058c330ddcfd8be71b6669ae803a (patch)
tree085c1eac9f5903495839793f427cbe087954a47c /development
parentf8eacb8285ba180ee4f51502b1f1783d3b84ff72 (diff)
development/rust: Updated for version 1.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/rust/rust.SlackBuild8
-rw-r--r--development/rust/rust.info10
2 files changed, 8 insertions, 10 deletions
diff --git a/development/rust/rust.SlackBuild b/development/rust/rust.SlackBuild
index 06f360ae725d8..6da38029c8e13 100644
--- a/development/rust/rust.SlackBuild
+++ b/development/rust/rust.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=rust
PRGNAM2=cargo
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ mv ${PRGNAM2}/bin/* $PKG/usr/bin/
mv ${PRGNAM2}/etc $PKG/usr/
mv ${PRGNAM2}/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
cp -rf ${PRGNAM2}/share/* $PKG/usr/share
-cp ${PRGNAM}-std-${ARCH}-unknown-linux-gnu/lib/rustlib/${ARCH}-unknown-linux-gnu/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
+mv $PRGNAM-std-$ARCH-unknown-linux-gnu/lib/rustlib/$ARCH-unknown-linux-gnu $PKG/usr/lib$LIBDIRSUFFIX/rustlib/
find -L $PKG -type d -exec chmod 755 {} \;
chmod 755 $PKG/usr/bin/*
@@ -84,11 +84,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PRGNAM-docs/share/* $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/doc/$PRGNAM-$VERSION/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/doc/$PRGNAM/html
cp -rf $PKG/usr/share/doc $PKG/usr/
rm -rf $PKG/usr/share/doc $PKG/usr/doc/$PRGNAM-$VERSION/doc
-chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION/html
-find -L $PKG/usr/doc/$PRGNAM-$VERSION/html -type d -exec chmod 755 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/rust/rust.info b/development/rust/rust.info
index 924d5555781b0..6ba15e3567eb0 100644
--- a/development/rust/rust.info
+++ b/development/rust/rust.info
@@ -1,10 +1,10 @@
PRGNAM="rust"
-VERSION="1.8.0"
+VERSION="1.9.0"
HOMEPAGE="http://www.rust-lang.org"
-DOWNLOAD="https://static.rust-lang.org/dist/rust-1.8.0-i686-unknown-linux-gnu.tar.gz"
-MD5SUM="967dbed43f77544423170a45d43db255"
-DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rust-1.8.0-x86_64-unknown-linux-gnu.tar.gz"
-MD5SUM_x86_64="57ea37e8a145654b490ff3332b78eb82"
+DOWNLOAD="https://static.rust-lang.org/dist/rust-1.9.0-i686-unknown-linux-gnu.tar.gz"
+MD5SUM="a810e712f3309de0898f492d768a417e"
+DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rust-1.9.0-x86_64-unknown-linux-gnu.tar.gz"
+MD5SUM_x86_64="dc994c38b56c97081a5006c7553a55e1"
REQUIRES=""
MAINTAINER="Dmitrii Sosedov"
EMAIL="dmitrii@sosedov.org"