# Template file for 'newsboat' pkgname=newsboat version=2.16.1 revision=2 wrksrc="newsboat-r${version}" build_style=configure build_helper="rust" configure_script="./config.sh" make_build_target="all doc" make_install_args="prefix=/usr" hostmakedepends="asciidoc pkg-config cargo git" makedepends="json-c-devel libcurl-devel libxml2-devel sqlite-devel stfl-devel rust-std" checkdepends="ncurses-base" short_desc="Newsboat is a fork of Newsbeuter the Mutt of RSS feed readers" maintainer="maxice8 " license="MIT" homepage="https://www.newsboat.org" changelog="https://raw.githubusercontent.com/newsboat/newsboat/master/CHANGELOG.md" distfiles="https://github.com/newsboat/newsboat/archive/r${version}.tar.gz" checksum=c125cf906a074598104476fecddae5e4f4dd26c9d22750bb1e8ccfd7a11813c2 CXXFLAGS=" -Wno-error=sign-compare" do_check() { rm -f test/rss.cpp make test (cd test && TERM=$TERM TMPDIR=/dev/shm ./test) } post_install() { vlicense LICENSE vsconf doc/example-bookmark-plugin.sh bookmark-plugin.sh mv "${DESTDIR}/usr/share/doc/$pkgname/examples/config" "${DESTDIR}/usr/share/examples/${pkgname}" vcopy contrib usr/share/examples/${pkgname} }