diff options
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 |