37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'newsboat'
|
|
pkgname=newsboat
|
|
version=2.18
|
|
revision=1
|
|
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="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://www.newsboat.org/releases/${version}/newsboat-${version}.tar.xz"
|
|
checksum=f23932c0226ec3f69eac7668da444e73175048498e15e9d773451648b2cba4b0
|
|
|
|
pre_build() {
|
|
cargo update --package openssl-sys --precise 0.9.53
|
|
}
|
|
|
|
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
|
|
}
|