diff options
Diffstat (limited to 'system/bottom/bottom.SlackBuild')
-rw-r--r-- | system/bottom/bottom.SlackBuild | 14 |
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 |