new package: lesspipe-1.83

This commit is contained in:
Olga U 2018-12-05 23:51:34 +07:00 committed by maxice8
parent 1b420bd4e2
commit 729d8b782e
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,2 @@
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
setenv LESS_ADVANCED_PREPROCESSOR 1

View file

@ -0,0 +1,3 @@
LESSOPEN="|/usr/bin/lesspipe.sh %s"
export LESSOPEN
LESS_ADVANCED_PREPROCESSOR=1; export LESS_ADVANCED_PREPROCESSOR

23
srcpkgs/lesspipe/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'lesspipe'
pkgname=lesspipe
version=1.83
revision=1
noarch=yes
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
}