# Template file for 'lesspipe'
pkgname=lesspipe
version=1.83
revision=1
archs=noarch
depends="less"
short_desc="An 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://www-zeuthen.desy.de/~friebel/unix/less/lesspipe-${version}.tar.gz"
checksum=d616f0d51852e60fb0d0801eec9c31b10e0acc6fdfdc62ec46ef7bfd60ce675e

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
}
