codeberg-cli: rebuild for libgit2-1.8

This commit is contained in:
tranzystorekk 2024-08-04 12:23:40 +02:00
parent d6d4a692a8
commit 973579d569
2 changed files with 2 additions and 19 deletions

View File

@ -1,13 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index ea57a6d..16d7a4e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,7 +47,7 @@ url = "2.5"
webbrowser = "1.0"
forgejo-api = "0.3"
-git2 = "0.19"
+git2 = "0.18"
[dev-dependencies]
insta = "1.34"

View File

@ -1,11 +1,11 @@
# Template file for 'codeberg-cli'
pkgname=codeberg-cli
version=0.4.3
revision=1
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libgit2-devel openssl-devel"
makedepends="libgit2-1.8-devel openssl-devel"
short_desc="CLI Tool for Codeberg similar to gh and glab"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="AGPL-3.0-or-later"
@ -14,10 +14,6 @@ changelog="https://codeberg.org/Aviac/codeberg-cli/raw/branch/main/CHANGELOG.md"
distfiles="https://codeberg.org/Aviac/codeberg-cli/archive/v${version}.tar.gz"
checksum=cf439a53846c93adf51bc0911da7489e59828b5be6ad0e50cecd4312e36c52b4
post_patch() {
cargo update --package git2@0.19.0 --precise 0.18.3
}
post_install() {
vlicense LICENSE