bat: rebuild for libgit2-1.7

This commit is contained in:
Marcin Puc 2023-09-08 16:29:28 +02:00 committed by cinerea0
parent 0ded9bb257
commit 10d10c6369
2 changed files with 1 additions and 18 deletions

View File

@ -1,13 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index e31fbc3..cc4cdf9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,7 @@ os_str_bytes = { version = "~6.4", optional = true }
run_script = { version = "^0.10.0", optional = true}
[dependencies.git2]
-version = "0.18"
+version = "0.17"
optional = true
default-features = false

View File

@ -1,7 +1,7 @@
# Template file for 'bat' # Template file for 'bat'
pkgname=bat pkgname=bat
version=0.24.0 version=0.24.0
revision=1 revision=2
build_style=cargo build_style=cargo
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libgit2-devel oniguruma-devel" makedepends="libgit2-devel oniguruma-devel"
@ -15,10 +15,6 @@ checksum=907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb
export BAT_ASSETS_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}" export BAT_ASSETS_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}"
post_patch() {
cargo update --package git2@0.18.0 --precise 0.17.2
}
post_install() { post_install() {
vlicense LICENSE-MIT vlicense LICENSE-MIT
vdoc README.md vdoc README.md