36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'newsboat'
|
|
pkgname=newsboat
|
|
version=r2.10.1
|
|
revision=1
|
|
build_style=configure
|
|
configure_script="./config.sh"
|
|
make_install_args="prefix=/usr"
|
|
hostmakedepends="pkg-config perl asciidoc"
|
|
checkdepends="ncurses-base"
|
|
makedepends="stfl-devel json-c-devel libxml2-devel libcurl-devel sqlite-devel libressl-devel"
|
|
make_build_target="all doc"
|
|
short_desc="Newsboat is a fork of Newsbeuter the Mutt of RSS feed readers"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://www.newsboat.org"
|
|
distfiles="https://github.com/newsboat/newsboat/archive/${version}.tar.gz"
|
|
checksum=82d5e3e2a6dab845aac0bf72580f46c2756375d49214905a627284e5bc32e327
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# This is not triggered in native compilation
|
|
CXXFLAGS=" -Wno-error=sign-compare"
|
|
fi
|
|
|
|
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}"
|
|
|
|
}
|