33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'newsboat'
|
|
pkgname=newsboat
|
|
version=2.19
|
|
revision=2
|
|
build_style=configure
|
|
build_helper="rust"
|
|
configure_script="./config.sh"
|
|
make_install_args="prefix=/usr"
|
|
hostmakedepends="ruby-asciidoctor pkg-config cargo git gettext"
|
|
makedepends="json-c-devel libcurl-devel libxml2-devel sqlite-devel stfl-devel
|
|
rust-std"
|
|
checkdepends="ncurses-base"
|
|
short_desc="RSS/Atom feed reader for the text console"
|
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://newsboat.org/"
|
|
changelog="https://raw.githubusercontent.com/newsboat/newsboat/master/CHANGELOG.md"
|
|
distfiles="https://newsboat.org/releases/${version}/newsboat-${version}.tar.xz"
|
|
checksum=ba484c825bb903daf6d33d55126107b59e41111b455d368362208f1825403d1b
|
|
|
|
do_check() {
|
|
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/newsboat/examples/config" \
|
|
"${DESTDIR}/usr/share/examples/newsboat"
|
|
vcopy contrib usr/share/examples/newsboat
|
|
}
|