Files
termux-packages/packages/lesspipe/build.sh
termux-pacman-bot f75ad5eeaa bump(main/lesspipe): 2.10
This commit has been automatically submitted by Github Actions.
2023-10-05 12:40:19 +00:00

25 lines
884 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_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.10"
TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ad1589592ff46f7738eb1ba2ecc911b003a6afe9376656e9f6ec920d354a58df
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="less"
TERMUX_PKG_BUILD_DEPENDS="bash-completion"
TERMUX_PKG_SUGGESTS="imagemagick, p7zip, unrar, unzip"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
./configure \
--prefix="$TERMUX_PREFIX"
}
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
}