diff options
-rw-r--r-- | development/rust/rust.SlackBuild | 8 | ||||
-rw-r--r-- | development/rust/rust.info | 10 |
2 files changed, 8 insertions, 10 deletions
diff --git a/development/rust/rust.SlackBuild b/development/rust/rust.SlackBuild index 06f360ae725d..6da38029c8e1 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 924d5555781b..6ba15e3567eb 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" |