system/bat: Switch dependency to rust16.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a69f82a0dd
commit
02b3840e19
|
@ -1,4 +1,15 @@
|
|||
bat is a cat clone with syntax highlighting and Git integration.
|
||||
|
||||
Rust 1.60 or newer is a compile-time dependency, which is available from
|
||||
the Slackware tree in extra/rust-for-mozilla/.
|
||||
bat prints the syntax-highlighted content of a collection of FILEs to
|
||||
the terminal. If no FILE is specified, or when FILE is '-', it reads
|
||||
from standard input.
|
||||
|
||||
bat supports a large number of programming and markup languages. It also
|
||||
communicates with git(1) to show modifications with respect to the git
|
||||
index. bat automatically pipes its output through a pager (by default:
|
||||
less).
|
||||
|
||||
Whenever the output of bat goes to a non-interactive terminal, i.e. when
|
||||
the output is piped into another process or into a file, bat will act as
|
||||
a drop-in replacement for cat(1) and fall back to printing the plain
|
||||
file contents.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for bat
|
||||
|
||||
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# Copyright 2021-2022 Erich Ritz, Jenks, Oklahoma, USA
|
||||
# Copyright 2021-2023 Erich Ritz, Jenks, Oklahoma, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=bat
|
||||
VERSION=${VERSION:-0.22.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -152,6 +152,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
export PATH="/opt/rust16/bin:$PATH"
|
||||
if [ -z "$LD_LIBRARY_PATH" ]; then
|
||||
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
|
||||
else
|
||||
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
|
||||
fi
|
||||
|
||||
CARGO_HOME=.cargo \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -295,6 +295,6 @@ MD5SUM="079a00e594fcd588bfaa6c21fc16a05f \
|
|||
331d07cdd036d528ede2f69c7ff0beb6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README%"
|
||||
REQUIRES="rust16"
|
||||
MAINTAINER="Erich Ritz"
|
||||
EMAIL="erich.public@protonmail.com"
|
||||
|
|
Loading…
Reference in New Issue