delta: rebuild for libgit2

This commit is contained in:
Marcin Puc 2023-06-10 13:21:18 +02:00 committed by classabbyamp
parent cf92d83047
commit 9cbd8fbc18
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,13 @@
diff --git a/Cargo.toml b/Cargo.toml
index 8c0c6d8..4fdaa9d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,7 +46,7 @@ vte = "0.11.0"
xdg = "2.4.1"
[dependencies.git2]
-version = "0.16.1"
+version = "0.17"
default-features = false
features = []

View File

@ -1,7 +1,7 @@
# Template file for 'delta'
pkgname=delta
version=0.16.5
revision=1
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel oniguruma-devel"
@ -13,8 +13,8 @@ homepage="https://github.com/dandavison/delta"
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
checksum=00d4740e9da4f543f34a2a0503615f8190d307d1180dfb753b6911aa6940197f
pre_build() {
export RUSTONIG_SYSTEM_LIBONIG=1
post_patch() {
cargo update --package git2@0.16.1 --precise 0.17.2
}
post_install() {