void-packages/srcpkgs/streampager/template

21 lines
677 B
Bash

# Template file for 'streampager'
pkgname=streampager
version=0.10.3
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=e0179cd03bbaad09acefa08cc74c99668fee1b448d0ef5a11b847f10e1b8e15c
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)
}