# Template file for 'lesspipe'
pkgname=lesspipe
version=2.24
revision=1
depends="less"
short_desc="Input filter for the pager less"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html"
changelog="https://raw.githubusercontent.com/wofr06/lesspipe/refs/heads/lesspipe/ChangeLog"
distfiles="https://github.com/wofr06/lesspipe/archive/refs/tags/v${version}.tar.gz"
checksum=e8c3ac4c5954252ab72ae9e70d28ca1dff866b193a713bc67e2ad9f37ff6cec3

do_install() {
	vbin archive_color
	vbin vimcolor
	vbin lesspipe.sh
	vman lesspipe.1
	vdoc README.md

	vinstall ${FILESDIR}/lesspipe.sh 644 etc/profile.d
	vinstall ${FILESDIR}/lesspipe.csh 644 etc/profile.d
}
