vp-build/srcpkgs/grc/template

28 lines
805 B
Bash

# Template file for 'grc'
pkgname=grc
version=1.13
revision=1
depends="python3"
short_desc="Colouriser for logfiles and output of commands"
maintainer="Georg Schabel <gescha@posteo.de>"
license="GPL-2.0-or-later"
homepage="http://korpus.juls.savba.sk/~garabik/software/grc.html"
changelog="https://raw.githubusercontent.com/garabik/grc/master/debian/changelog"
distfiles="https://github.com/garabik/grc/archive/v${version}.tar.gz"
checksum=a7b10d4316b59ca50f6b749f1d080cea0b41cb3b7258099c3eb195659d1f144f
conf_files="/etc/grc.conf"
do_install() {
vbin grc
vbin grcat
vman grc.1
vman grcat.1
vconf grc.conf
vmkdir usr/share/grc
vcopy colourfiles/conf.* usr/share/grc
vcopy "${FILESDIR}/conf.*" usr/share/grc
vcopy grc.zsh usr/share/grc
vcopy grc.fish usr/share/grc
vcopy grc.sh usr/share/grc
}