void-packages/srcpkgs/delta/template
2022-03-09 23:23:41 +01:00

21 lines
541 B
Bash

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