mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
New package: jujutsu-0.13.0
This commit is contained in:
parent
63ce259dff
commit
1828b57e1d
1 changed files with 33 additions and 0 deletions
33
srcpkgs/jujutsu/template
Normal file
33
srcpkgs/jujutsu/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'jujutsu'
|
||||
pkgname=jujutsu
|
||||
version=0.13.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libgit2-devel openssl-devel libzstd-devel"
|
||||
short_desc="Git-compatible VCS that is both simple and powerful"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
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
|
||||
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
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for f in target/*/release/jj; do
|
||||
vbin $f
|
||||
done
|
||||
|
||||
for _shell in bash fish zsh; do
|
||||
vtargetrun ${DESTDIR}/usr/bin/jj util completion --${_shell} > jj.${_shell}
|
||||
vcompletion jj.${_shell} ${_shell} jj
|
||||
done
|
||||
}
|
Loading…
Add table
Reference in a new issue