development/rust: Updated for version 1.9.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-05-27 07:20:29 +07:00
parent f8eacb8285
commit 85bb4a82cb
2 changed files with 8 additions and 10 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=rust PRGNAM=rust
PRGNAM2=cargo PRGNAM2=cargo
VERSION=${VERSION:-1.8.0} VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -70,7 +70,7 @@ mv ${PRGNAM2}/bin/* $PKG/usr/bin/
mv ${PRGNAM2}/etc $PKG/usr/ mv ${PRGNAM2}/etc $PKG/usr/
mv ${PRGNAM2}/lib/* $PKG/usr/lib${LIBDIRSUFFIX} mv ${PRGNAM2}/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
cp -rf ${PRGNAM2}/share/* $PKG/usr/share 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 {} \; find -L $PKG -type d -exec chmod 755 {} \;
chmod 755 $PKG/usr/bin/* 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PRGNAM-docs/share/* $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 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/ cp -rf $PKG/usr/share/doc $PKG/usr/
rm -rf $PKG/usr/share/doc $PKG/usr/doc/$PRGNAM-$VERSION/doc 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 mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,10 +1,10 @@
PRGNAM="rust" PRGNAM="rust"
VERSION="1.8.0" VERSION="1.9.0"
HOMEPAGE="http://www.rust-lang.org" HOMEPAGE="http://www.rust-lang.org"
DOWNLOAD="https://static.rust-lang.org/dist/rust-1.8.0-i686-unknown-linux-gnu.tar.gz" DOWNLOAD="https://static.rust-lang.org/dist/rust-1.9.0-i686-unknown-linux-gnu.tar.gz"
MD5SUM="967dbed43f77544423170a45d43db255" MD5SUM="a810e712f3309de0898f492d768a417e"
DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rust-1.8.0-x86_64-unknown-linux-gnu.tar.gz" DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rust-1.9.0-x86_64-unknown-linux-gnu.tar.gz"
MD5SUM_x86_64="57ea37e8a145654b490ff3332b78eb82" MD5SUM_x86_64="dc994c38b56c97081a5006c7553a55e1"
REQUIRES="" REQUIRES=""
MAINTAINER="Dmitrii Sosedov" MAINTAINER="Dmitrii Sosedov"
EMAIL="dmitrii@sosedov.org" EMAIL="dmitrii@sosedov.org"