jujutsu: rebuild for libgit2-1.7

This commit is contained in:
Marcin Puc 2024-02-07 13:30:46 +01:00 committed by cinerea0
parent 1998cbdd05
commit 61c11283f9
1 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'jujutsu'
pkgname=jujutsu
version=0.15.1
revision=2
revision=3
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
@ -17,12 +17,6 @@ distfiles="https://github.com/martinvonz/jj/archive/refs/tags/v${version}.tar.gz
checksum=e39f80edaa01da29e86782424d031c38324eabff10c44704781c80fd60c9fb0e
conflicts="jj>=0"
pre_configure() {
# Downgrade to use Void system libgit2 1.6
vsed -i 's/git2 = "0.18.2"/git2 = "0.17.2"/' Cargo.toml
cargo update --package git2@0.18.2 --precise 0.17.2
}
do_install() {
for f in target/*/release/jj; do
vbin $f