lsd: rebuild for libgit2-1.7

This commit is contained in:
Marcin Puc 2023-09-08 18:00:14 +02:00 committed by cinerea0
parent 61c11283f9
commit 79f7b78302
2 changed files with 1 additions and 18 deletions

View File

@ -1,13 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index 1fa32ac..815cbda 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,7 +46,7 @@ xdg = "2.5"
[target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies]
# if ssl feature is enabled compilation will fail on arm-unknown-linux-gnueabihf and i686-pc-windows-gnu
-git2 = { version = "0.18", optional = true, default-features = false }
+git2 = { version = "0.17", optional = true, default-features = false }
[target.'cfg(unix)'.dependencies]
users = { version = "0.11.3", package = "uzers" }

View File

@ -1,7 +1,7 @@
# Template file for 'lsd'
pkgname=lsd
version=1.1.2
revision=1
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
@ -24,10 +24,6 @@ fi
export SHELL_COMPLETIONS_DIR="${wrksrc}"
post_patch() {
cargo update --package git2@0.18.2 --precise 0.17.2
}
post_install() {
vcompletion lsd.bash bash
vcompletion lsd.fish fish