void-packages/srcpkgs/streampager/template

21 lines
677 B
Bash

# Template file for 'streampager'
pkgname=streampager
version=0.10.2
revision=1
build_style=cargo
hostmakedepends="asciidoc"
short_desc="Pager for command output or large files"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://github.com/markbt/streampager"
distfiles="https://github.com/markbt/streampager/archive/refs/tags/v${version}.tar.gz"
checksum=38f97ce65dd2231e5ec8ce06f6c3367fac04f13ad7b77d78b387f6a137f1e798
post_install() {
vcompletion $(find target -name sp.bash) bash sp
vcompletion $(find target -name sp.fish) fish sp
vcompletion $(find target -name _sp) zsh sp
vlicense LICENSE.md
vman $(find target -name sp.1)
}