2020-01-04 15:10:34 +01:00
|
|
|
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"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-11-11 01:16:22 +01:00
|
|
|
TERMUX_PKG_VERSION=1.91
|
2020-01-09 23:49:54 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/$TERMUX_PKG_VERSION.tar.gz
|
2021-11-11 01:16:22 +01:00
|
|
|
TERMUX_PKG_SHA256=6192e7e451c5db26841c6dc3cbcc23c1ef396c1cc4588288effa699dbc665cdb
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-01-04 15:10:34 +01:00
|
|
|
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
|
|
|
|
}
|