Files
termux-packages/packages/rdrview/build.sh
2026-01-03 08:43:30 +00:00

17 lines
652 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/eafer/rdrview
TERMUX_PKG_DESCRIPTION="Command line tool to extract the main content from a webpage"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1:0.1.5"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/eafer/rdrview/archive/refs/tags/v${TERMUX_PKG_VERSION#*:}.tar.gz"
TERMUX_PKG_SHA256=e83266cb2e3b16a42f3433101d1f312350ce1442561eaded67efb51c2e8e8aab
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
TERMUX_PKG_DEPENDS="libcurl, libiconv, libseccomp, libxml2"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
LDFLAGS+=" -liconv"
}