34 lines
1018 B
Bash
34 lines
1018 B
Bash
# Template file for 'newsboat'
|
|
pkgname=newsboat
|
|
version=2.35
|
|
revision=1
|
|
build_style=configure
|
|
build_helper="rust"
|
|
configure_script="./config.sh"
|
|
make_install_args="prefix=/usr"
|
|
make_check_target="ci-check"
|
|
hostmakedepends="ruby-asciidoctor pkg-config cargo git gettext"
|
|
makedepends="json-c-devel libcurl-devel libxml2-devel sqlite-devel stfl-devel
|
|
rust-std"
|
|
checkdepends="ncurses-base"
|
|
short_desc="RSS/Atom feed reader for the text console"
|
|
maintainer="André L. C. Moreira <andrelcmoreira@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://newsboat.org/"
|
|
changelog="https://raw.githubusercontent.com/newsboat/newsboat/master/CHANGELOG.md"
|
|
distfiles="https://newsboat.org/releases/${version}/newsboat-${version}.tar.xz"
|
|
checksum=f4f003f6ca38e44c0fef01fb6bc8c5ba6b53589c7c87db7b0cc2284e018db6c4
|
|
python_version=3
|
|
|
|
# tests fail when run by superuser
|
|
# they always fail on musl, see https://github.com/newsboat/newsboat/issues/1216
|
|
make_check=extended
|
|
|
|
pre_check() {
|
|
export TERM=$TERM
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|