termux-packages/packages/html2text/build.sh

16 lines
591 B
Bash
Raw Normal View History

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_MAINTAINER="@termux"
2020-06-21 16:34:34 +02:00
TERMUX_PKG_VERSION=1:2.0.0
2020-07-11 22:09:23 +02:00
TERMUX_PKG_REVISION=1
2020-06-21 16:34:34 +02:00
TERMUX_PKG_SRCURL=https://github.com/grobian/html2text/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=061125bfac658c6d89fa55e9519d90c5eeb3ba97b2105748ee62f3a3fa2449de
2020-06-21 16:58:05 +02:00
TERMUX_PKG_DEPENDS="libiconv"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
2020-06-21 16:58:05 +02:00
CXX="$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS"
mkdir -p $TERMUX_PREFIX/share/man/man1
}