2018-10-08 01:34:29 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/sharkdp/bat
|
|
|
|
TERMUX_PKG_DESCRIPTION="A cat(1) clone with wings"
|
2019-01-20 21:39:59 +00:00
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2019-02-08 23:26:00 +00:00
|
|
|
TERMUX_PKG_VERSION=0.10.0
|
2019-04-14 12:51:46 +00:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-02-08 23:26:00 +00:00
|
|
|
TERMUX_PKG_SHA256=54dd396e8f20d44c6032a32339f45eab46a69b6134e74a704f8d4a27c18ddc3e
|
2018-10-08 01:34:29 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/sharkdp/bat/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2019-01-19 08:58:17 +00:00
|
|
|
# bat calls less with '--RAW-CONTROL-CHARS' which busybox less does not support:
|
2019-04-14 15:46:58 +00:00
|
|
|
TERMUX_PKG_DEPENDS="less, zlib"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
2018-10-08 01:34:29 +00:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2018-10-18 03:51:48 +00:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man1
|
2018-10-08 01:34:29 +00:00
|
|
|
cp $TERMUX_PKG_SRCDIR/doc/bat.1 $TERMUX_PREFIX/share/man/man1/
|
|
|
|
}
|