diff --git a/srcpkgs/newsboat/template b/srcpkgs/newsboat/template index e0ebdeeea5..689e74ecfb 100644 --- a/srcpkgs/newsboat/template +++ b/srcpkgs/newsboat/template @@ -1,11 +1,12 @@ # Template file for 'newsboat' pkgname=newsboat -version=2.21 +version=2.22.1 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" @@ -16,11 +17,14 @@ 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=0c46b3dd46bb578dd6dd4915db4cfdffb4352ab258f251080ad14655c75a9c31 +checksum=8920f41cc53776b67c0e85ad1696b0967f6ac248f3b8913d977942c15d75e690 -do_check() { - make test - (cd test && TERM=$TERM TMPDIR=/dev/shm ./test) +# 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() {