# Template file for 'vivid'
pkgname=vivid
version=0.6.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=c8640f524aef1cd4dc15286bdc6189894ad067ea79bf8c40b9ca8d9d752d161f

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
}
