delta: update to 0.15.1

This commit is contained in:
Marcin Puc 2022-12-04 09:47:32 +01:00 committed by classabbyamp
parent 080eda6532
commit fd0c79c513
1 changed files with 10 additions and 4 deletions

View File

@ -1,19 +1,25 @@
# Template file for 'delta'
pkgname=delta
version=0.14.0
version=0.15.1
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel oniguruma-devel"
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
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
checksum=b9afd2f80ae1d57991a19832d6979c7080a568d42290a24e59d6a2a82cbc1728
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
cargo update --package autocfg@1.0.1 --precise 1.1.0
}
pre_build() {
export RUSTONIG_SYSTEM_LIBONIG=1
}
post_install() {