newsboat: update to 2.18, adopt package
This commit is contained in:
parent
d73504fc5c
commit
109c8f3e19
1 changed files with 10 additions and 11 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'newsboat'
|
||||
pkgname=newsboat
|
||||
version=2.17.1
|
||||
version=2.18
|
||||
revision=1
|
||||
wrksrc="newsboat-r${version}"
|
||||
build_style=configure
|
||||
build_helper="rust"
|
||||
configure_script="./config.sh"
|
||||
|
@ -12,19 +11,19 @@ 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="Orphaned <orphan@voidlinux.org>"
|
||||
short_desc="RSS/Atom feed reader for the text console"
|
||||
maintainer="Daniel Eyßer <daniel.eysser@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=4332d5e3605f57441158d06864297c8ac79bd159b12d982296b15b0bd7455cc6
|
||||
distfiles="https://www.newsboat.org/releases/${version}/newsboat-${version}.tar.xz"
|
||||
checksum=f23932c0226ec3f69eac7668da444e73175048498e15e9d773451648b2cba4b0
|
||||
|
||||
CXXFLAGS=" -Wno-error=sign-compare"
|
||||
pre_build() {
|
||||
cargo update --package openssl-sys --precise 0.9.53
|
||||
}
|
||||
|
||||
do_check() {
|
||||
rm -f test/rss.cpp
|
||||
|
||||
make test
|
||||
(cd test && TERM=$TERM TMPDIR=/dev/shm ./test)
|
||||
}
|
||||
|
@ -32,6 +31,6 @@ do_check() {
|
|||
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}
|
||||
mv "${DESTDIR}/usr/share/doc/newsboat/examples/config" "${DESTDIR}/usr/share/examples/newsboat"
|
||||
vcopy contrib usr/share/examples/newsboat
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue