From 00871c938fa2f39cf1a32ad090b6f3fdf3221e28 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Wed, 2 Mar 2022 09:10:21 +0900 Subject: [PATCH] lesspipe: Update to 2.04 --- packages/lesspipe/build.sh | 6 +++--- packages/lesspipe/configure.patch | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 packages/lesspipe/configure.patch diff --git a/packages/lesspipe/build.sh b/packages/lesspipe/build.sh index f7d349cc3..cd2218e63 100644 --- a/packages/lesspipe/build.sh +++ b/packages/lesspipe/build.sh @@ -2,9 +2,9 @@ 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=1.91 -TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=6192e7e451c5db26841c6dc3cbcc23c1ef396c1cc4588288effa699dbc665cdb +TERMUX_PKG_VERSION=2.04 +TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=b65ee79b7b51510e6f2097a22d3c7985805a53d9e33b0afdfe129f2a1f89cc23 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="less" TERMUX_PKG_SUGGESTS="imagemagick, p7zip, unrar, unzip" diff --git a/packages/lesspipe/configure.patch b/packages/lesspipe/configure.patch new file mode 100644 index 000000000..b79e637ed --- /dev/null +++ b/packages/lesspipe/configure.patch @@ -0,0 +1,15 @@ +--- a/configure ++++ b/configure +@@ -56,10 +56,10 @@ + mkdir -p \$(DESTDIR)\$(PREFIX)/bin + mkdir -p \$(DESTDIR)\$(PREFIX)/share/man/man1 + mkdir -p \$(DESTDIR)\$(PREFIX)/share/zsh/site-functions +- mkdir -p \$(DESTDIR)/etc/bash_completion.d ++ mkdir -p \$(DESTDIR)\$(PREFIX)/etc/bash_completion.d + cp ./code2color ./sxw2txt ./archive_color ./lesspipe.sh ./vimcolor ./lesscomplete \$(DESTDIR)\$(PREFIX)/bin + cp ./lesspipe.1 \$(DESTDIR)\$(PREFIX)/share/man/man1 +- cp ./less_completion \$(DESTDIR)/etc/bash_completion.d ++ cp ./less_completion \$(DESTDIR)\$(PREFIX)/etc/bash_completion.d + cp ./_less \$(DESTDIR)\$(PREFIX)/share/zsh/site-functions + chmod 0755 \$(DESTDIR)\$(PREFIX)/bin/lesspipe.sh + chmod 0755 \$(DESTDIR)\$(PREFIX)/bin/sxw2txt