html2text: fix manpage installation

This commit is contained in:
Leonid Pliushch 2020-07-11 23:09:23 +03:00
parent 5a3f81d75b
commit 2ae0a8b8c8
2 changed files with 14 additions and 1 deletions

View File

@ -1,6 +1,6 @@
diff -uNr html2text-2.0.0/Makefile.in html2text-2.0.0.mod/Makefile.in
--- html2text-2.0.0/Makefile.in 2020-06-18 09:11:22.000000000 +0300
+++ html2text-2.0.0.mod/Makefile.in 2020-06-21 17:55:30.409483227 +0300
+++ html2text-2.0.0.mod/Makefile.in 2020-07-09 15:50:56.596903168 +0300
@@ -32,7 +32,7 @@
YFLAGS =
@ -10,3 +10,15 @@ diff -uNr html2text-2.0.0/Makefile.in html2text-2.0.0.mod/Makefile.in
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man
DOCDIR = $(PREFIX)/share/doc/html2text
@@ -134,9 +134,8 @@
install:
$(INSTALLER) -d -m 755 $(DESTDIR)$(BINDIR);
$(INSTALLER) -m 755 html2text $(DESTDIR)$(BINDIR);
- $(INSTALLER) -d -m 755 $(DESTDIR)$(MANDIR);
- $(INSTALLER) -m 644 html2text.1 $(DESTDIR)$(MANDIR)/man1;
- $(INSTALLER) -m 644 html2textrc.5 $(DESTDIR)$(MANDIR)/man5;
+ $(INSTALLER) -Dm 644 html2text.1 $(DESTDIR)$(MANDIR)/man1/html2text.1;
+ $(INSTALLER) -Dm 644 html2textrc.5 $(DESTDIR)$(MANDIR)/man5/html2textrc.5;
$(INSTALLER) -d -m 755 $(DESTDIR)$(DOCDIR);
$(INSTALLER) -p -m 644 \
CHANGES COPYING CREDITS KNOWN_BUGS \

View File

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.mbayer.de/html2text/
TERMUX_PKG_DESCRIPTION="Utility that converts HTML documents into plain text"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1:2.0.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/grobian/html2text/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=061125bfac658c6d89fa55e9519d90c5eeb3ba97b2105748ee62f3a3fa2449de
TERMUX_PKG_DEPENDS="libiconv"