void-packages/srcpkgs/delta/template

22 lines
541 B
Bash

# Template file for 'delta'
pkgname=delta
version=0.13.0
revision=1
build_style=cargo
checkdepends="git"
short_desc="Syntax-highlighting pager for git"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/dandavison/delta"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=5a0ba70a094a7884beb6f1efd4d155861e4b3e3584c452cabbce1607f8eb0f30
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
}
post_install() {
vlicense LICENSE
}