termux-packages/packages/newsboat/build.sh
Leonid Pliushch b8b5b702be remove TERMUX_PKG_API_LEVEL from packages
Maximal TERMUX_PKG_API_LEVEL we have in packages is 24 as our target, so
TERMUX_PKG_API_LEVEL definition is useless.
2019-03-10 15:42:58 +02:00

21 lines
810 B
Bash

TERMUX_PKG_HOMEPAGE=https://newsboat.org/
TERMUX_PKG_DESCRIPTION="RSS/Atom feed reader for the text console"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=2.14.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SHA256=4bd0d3b1901a3fc7e0ef73b800587c28181a57b175c36b547dbd84636330df66
TERMUX_PKG_SRCURL=https://newsboat.org/releases/${TERMUX_PKG_VERSION}/newsboat-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, json-c, libsqlite, libcurl, libxml2, stfl, ncurses, openssl"
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_RM_AFTER_INSTALL="share/locale"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_bsd_main=no"
TERMUX_PKG_CONFLICTS=newsbeuter
TERMUX_PKG_REPLACES=newsbeuter
termux_step_pre_configure() {
termux_setup_rust
# Used by newsboat Makefile:
export CARGO_BUILD_TARGET=$CARGO_TARGET_NAME
}