void-packages/srcpkgs/delta/template

22 lines
541 B
Bash

# Template file for 'delta'
pkgname=delta
version=0.14.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=7d1ab2949d00f712ad16c8c7fc4be500d20def9ba70394182720a36d300a967c
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
}
post_install() {
vlicense LICENSE
}