void-packages/srcpkgs/newsboat/template

29 lines
864 B
Bash

# Template file for 'newsboat'
pkgname=newsboat
version=2.21
revision=1
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=0c46b3dd46bb578dd6dd4915db4cfdffb4352ab258f251080ad14655c75a9c31
do_check() {
make test
(cd test && TERM=$TERM TMPDIR=/dev/shm ./test)
}
post_install() {
vlicense LICENSE
}