void-packages/srcpkgs/vivid/template

21 lines
640 B
Bash

# Template file for 'vivid'
pkgname=vivid
version=0.7.0
revision=1
build_style=cargo
short_desc="LS_COLORS with support for multiple color themes"
maintainer="FollieHiyuki <folliekazetani@protonmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/vivid"
distfiles="https://github.com/sharkdp/vivid/archive/v${version}.tar.gz"
checksum=8eeb0cd692936558756ce0dea8cc132898029005a5c70118be5e3ccf784b4cfd
post_install() {
vlicense LICENSE-MIT
# Sample configuration file + sample themes
vsconf config/filetypes.yml
vmkdir usr/share/examples/${pkgname}/themes
vcopy themes/*.yml usr/share/examples/${pkgname}/themes
}