# Template file for 'lesspipe'
pkgname=lesspipe
version=1.84
revision=2
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"
distfiles="https://github.com/wofr06/lesspipe/archive/${version}.tar.gz"
checksum=5eb4811cc8ded108e98448bd83057e730906f643ad689ccd695828f2a46c4410

do_install() {
	vbin code2color
	vbin sxw2txt
	vbin tarcolor
	vbin lesspipe.sh
	vman lesspipe.1

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