You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
807 B
22 lines
807 B
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_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
|
TERMUX_PKG_VERSION=1.84
|
|
TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=5eb4811cc8ded108e98448bd83057e730906f643ad689ccd695828f2a46c4410
|
|
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
|
|
}
|
|
|