From fd0c79c513c1fe79252384dc5d8d6255401aa155 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sun, 4 Dec 2022 09:47:32 +0100 Subject: [PATCH] delta: update to 0.15.1 --- srcpkgs/delta/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/delta/template b/srcpkgs/delta/template index f5ca36d7ef1..154bbaa578c 100644 --- a/srcpkgs/delta/template +++ b/srcpkgs/delta/template @@ -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 " 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() {