23 lines
578 B
Bash
23 lines
578 B
Bash
# Template file for 'delta'
|
|
pkgname=delta
|
|
version=0.4.1
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="llvm clang"
|
|
makedepends="oniguruma-devel"
|
|
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=5c2e46e398702b13b2768043ba5dc6bea899fb34271120bad4608ff9a64b0434
|
|
|
|
pre_build() {
|
|
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
|
export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|