Browse Source

bat: Update from 0.11.0 to 0.12.1

emacs-27
Fredrik Fornwall 5 years ago
parent
commit
fa2d0882d6
  1. 8
      packages/bat/build.sh

8
packages/bat/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://github.com/sharkdp/bat TERMUX_PKG_HOMEPAGE=https://github.com/sharkdp/bat
TERMUX_PKG_DESCRIPTION="A cat(1) clone with wings" TERMUX_PKG_DESCRIPTION="A cat(1) clone with wings"
TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=0.11.0 TERMUX_PKG_VERSION=0.12.1
TERMUX_PKG_SHA256=bb4e39efadfab71c0c929a92b82dac58deacfe2a4eb527d4256ac0634e042ed2 TERMUX_PKG_SHA256=1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2
TERMUX_PKG_SRCURL=https://github.com/sharkdp/bat/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://github.com/sharkdp/bat/archive/v$TERMUX_PKG_VERSION.tar.gz
# bat calls less with '--RAW-CONTROL-CHARS' which busybox less does not support: # bat calls less with '--RAW-CONTROL-CHARS' which busybox less does not support:
TERMUX_PKG_DEPENDS="less, zlib" TERMUX_PKG_DEPENDS="less, zlib"
@ -10,6 +10,10 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() { termux_step_pre_configure() {
CFLAGS="$CFLAGS $CPPFLAGS" CFLAGS="$CFLAGS $CPPFLAGS"
# See https://github.com/nagisa/rust_libloading/issues/54
export CC_x86_64_unknown_linux_gnu=gcc
export CFLAGS_x86_64_unknown_linux_gnu=""
} }
termux_step_post_make_install() { termux_step_post_make_install() {

Loading…
Cancel
Save