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