termux-packages/packages/lesspipe/configure.patch

16 lines
742 B
Diff
Raw Normal View History

2022-03-02 01:10:21 +01:00
--- 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