# Template file for 'lesspipe'
pkgname=lesspipe
version=2.00
revision=1
depends="less"
short_desc="Input filter for the pager less"
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
license="GPL-2.0-only"
homepage="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html"
changelog="https://raw.githubusercontent.com/wofr06/lesspipe/lesspipe/ChangeLog"
distfiles="https://github.com/wofr06/lesspipe/archive/v${version}.tar.gz"
checksum=7b64ba4dfe80ef49bef30329ce1f98d70df79c5a62616e24a414f8f6a98dd9a4

do_install() {
	vbin archive_color
	vbin code2color
	vbin sxw2txt
	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
}
