summaryrefslogtreecommitdiffstats
path: root/system/bottom/bottom.SlackBuild
diff options
context:
space:
mode:
author pghvlaans2023-05-12 00:11:51 +0200
committer Willy Sudiarto Raharjo2023-05-13 14:27:19 +0200
commit730d0c666e03e580472897a23db3d86e8f5cd2bc (patch)
tree360003b664a605e814da649a53e13cd5a8d911c6 /system/bottom/bottom.SlackBuild
parent8c4a509394d1798ebd4be5af4a6b798c2d22af02 (diff)
downloadslackbuilds-730d0c666e03e580472897a23db3d86e8f5cd2bc.tar.gz
system/bottom: Updated for version 0.9.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/bottom/bottom.SlackBuild')
-rw-r--r--system/bottom/bottom.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/bottom/bottom.SlackBuild b/system/bottom/bottom.SlackBuild
index 7eeb5a9ded..808b8f13a2 100644
--- a/system/bottom/bottom.SlackBuild
+++ b/system/bottom/bottom.SlackBuild
@@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bottom
BINNAM=btm
-VERSION=${VERSION:-0.8.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -147,6 +147,8 @@ else
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi
+rm -f .cargo/config.toml
+
CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -159,13 +161,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install the man page.
+tar xf $CWD/manpage.tar.gz
mkdir -p $PKG/usr/man/man1
-(
- cd $PKG/usr/man/man1
- tar xf $CWD/manpage.tar.gz
- chown -R root:root .
- chmod 0644 ./*.gz
-)
+install -m 0644 btm.1.gz $PKG/usr/man/man1/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar docs/content/* $PKG/usr/doc/$PRGNAM-$VERSION