newsboat: update to 2.16.1

This commit is contained in:
teldra 2019-07-09 22:16:55 +02:00 committed by Helmut Pozimski
parent 2c581274b2
commit 6e91f02859

View file

@ -1,6 +1,6 @@
# Template file for 'newsboat'
pkgname=newsboat
version=2.15
version=2.16.1
revision=1
wrksrc="newsboat-r${version}"
build_style=configure
@ -8,7 +8,7 @@ build_helper="rust"
configure_script="./config.sh"
make_build_target="all doc"
make_install_args="prefix=/usr"
hostmakedepends="asciidoc pkg-config cargo"
hostmakedepends="asciidoc pkg-config cargo git"
makedepends="json-c-devel libcurl-devel libxml2-devel sqlite-devel stfl-devel
rust-std"
checkdepends="ncurses-base"
@ -18,7 +18,7 @@ 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
checksum=c125cf906a074598104476fecddae5e4f4dd26c9d22750bb1e8ccfd7a11813c2
CXXFLAGS=" -Wno-error=sign-compare"
@ -33,4 +33,6 @@ 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}"
vmkdir usr/share/examples/${pkgname}/contrib
vcopy contrib/* usr/share/examples/${pkgname}/contrib
}