28 lines
705 B
Bash
28 lines
705 B
Bash
# Template file for 'delta'
|
|
pkgname=delta
|
|
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="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@1.0.1 --precise 1.1.0
|
|
}
|
|
|
|
pre_build() {
|
|
export RUSTONIG_SYSTEM_LIBONIG=1
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|