git-absorb: repatch for libgit2

This commit is contained in:
Marcin Puc 2023-12-01 03:16:17 +01:00 committed by classabbyamp
parent 35aff7e9f7
commit 242b8914a4
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/Cargo.toml b/Cargo.toml
index 97dc720..85435bc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ name = "git-absorb"
path = "src/main.rs"
[dependencies.git2]
-version = "~0.18"
+version = "~0.17"
default-features = false
[dependencies]

View File

@ -1,7 +1,7 @@
# Template file for 'git-absorb'
pkgname=git-absorb
version=0.6.11
revision=1
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
@ -13,6 +13,10 @@ homepage="https://github.com/tummychow/git-absorb"
distfiles="https://github.com/tummychow/git-absorb/archive/refs/tags/${version}.tar.gz"
checksum=36c3b2c7bcd1d9db5d1dedd02d6b0ac58faaeb6fd50df7ff01f5cf87e5367b52
post_patch() {
cargo update --package git2@0.18.1 --precise 0.17.2
}
post_install() {
vlicense LICENSE.md
vman Documentation/git-absorb.1