termux-packages/packages/lesspipe/build.sh
Butta e4c1de21c6 jfrog-cli: update from 1.39.0 to 1.39.1
lesspipe: update from 1.84 to 1.85

libuv: update from 1.38.1 to 1.39.0

libx11: update from 1.6.11 to 1.6.12
2020-08-26 18:22:45 +05:30

22 lines
739 B
Bash

TERMUX_PKG_HOMEPAGE=http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
TERMUX_PKG_DESCRIPTION="An input filter for the pager less"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.85
TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=cffbb432396ea4abf551bdda17adee9be3543486bc398c5c6838908e299210f9
TERMUX_PKG_DEPENDS="less"
TERMUX_PKG_SUGGESTS="imagemagick, p7zip, unrar, unzip"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
./configure \
--prefix="$TERMUX_PREFIX" \
--yes
}
termux_step_post_make_install() {
mkdir -p "$TERMUX_PREFIX"/etc/profile.d
echo "export LESSOPEN='|$TERMUX_PREFIX/bin/lesspipe.sh %s'" \
> "$TERMUX_PREFIX"/etc/profile.d/lesspipe.sh
}