lesspipe: Update to 2.04

This commit is contained in:
Tee KOBAYASHI 2022-03-02 09:10:21 +09:00 committed by xtkoba
parent 8173741f30
commit 00871c938f
2 changed files with 18 additions and 3 deletions

View File

@ -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"

View File

@ -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