diff options
Diffstat (limited to 'system/bottom/bottom.SlackBuild')
-rw-r--r-- | system/bottom/bottom.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/bottom/bottom.SlackBuild b/system/bottom/bottom.SlackBuild index 61f9055b43..4ff5b14043 100644 --- a/system/bottom/bottom.SlackBuild +++ b/system/bottom/bottom.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bottom -# Copyright 2022-2024 K. Eugene Carlson Tsukuba, Japan +# Copyright 2022-2025 K. Eugene Carlson Tsukuba, Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bottom BINNAM=btm -VERSION=${VERSION:-0.10.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.11.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,7 +87,9 @@ cd $PRGNAM-$VERSION # build offline # configuration tells cargo to use the configured directory # for dependencies instead of downloading from crates.io -cat << EOF > .cargo/config +rm -rf $TMP/$PRGNAM-$VERSION/.cargo +mkdir .cargo +cat << EOF > .cargo/config.toml [source.crates-io] registry = 'https://github.com/rust-lang/crates.io-index' replace-with = 'vendored-sources' @@ -147,8 +149,6 @@ else export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" fi -rm -f .cargo/config.toml - CARGO_HOME=.cargo \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |