jujutsu: update to 0.14.0.

This commit is contained in:
Leah Neukirchen 2024-02-09 00:58:56 +01:00
parent d1aa27b8ff
commit d27aa01295

View file

@ -1,6 +1,6 @@
# Template file for 'jujutsu'
pkgname=jujutsu
version=0.13.0
version=0.14.0
revision=1
build_style=cargo
build_helper=qemu
@ -12,13 +12,13 @@ license="Apache-2.0"
homepage="https://github.com/martinvonz/jj"
changelog="https://github.com/martinvonz/jj/blob/main/CHANGELOG.md"
distfiles="https://github.com/martinvonz/jj/archive/refs/tags/v${version}.tar.gz"
checksum=f4e2be834cf9ea966ac58451298c8f1eed145c190fbca62b5b5a6bd145ac997e
checksum=33bea9014f53db520d2983830f3da75b7124c44a16b75850a1dd781355aeff5b
conflicts="jj>=0"
pre_configure() {
# Downgrade to use Void system libgit2 1.6
vsed -i 's/git2 = "0.18.1"/git2 = "0.17.2"/' Cargo.toml
cargo update --package git2@0.18.1 --precise 0.17.2
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() {
@ -27,7 +27,7 @@ do_install() {
done
for _shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/jj util completion --${_shell} > jj.${_shell}
vtargetrun ${DESTDIR}/usr/bin/jj util completion ${_shell} > jj.${_shell}
vcompletion jj.${_shell} ${_shell} jj
done
}