diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-27 07:20:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-27 07:20:29 +0700 |
commit | 85bb4a82cbda058c330ddcfd8be71b6669ae803a (patch) | |
tree | 085c1eac9f5903495839793f427cbe087954a47c /development/rust/rust.SlackBuild | |
parent | f8eacb8285ba180ee4f51502b1f1783d3b84ff72 (diff) |
development/rust: Updated for version 1.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/rust/rust.SlackBuild')
-rw-r--r-- | development/rust/rust.SlackBuild | 8 |
1 files changed, 3 insertions, 5 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 |