void-packages/srcpkgs/newsboat/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

37 lines
1.2 KiB
Bash

# 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="Orphaned <orphan@voidlinux.org>"
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}
}