37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'newsboat'
|
|
pkgname=newsboat
|
|
version=2.15
|
|
revision=1
|
|
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"
|
|
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 <thinkabit.ukim@gmail.com>"
|
|
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=bfb76f7a6ea33b9a6b0327c827cb2d3d6de6de78800bc4b558b26bff3e36b51a
|
|
|
|
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}"
|
|
}
|