2024-02-05 15:25:01 +01:00
|
|
|
# Template file for 'jujutsu'
|
|
|
|
pkgname=jujutsu
|
2024-03-07 14:30:54 +01:00
|
|
|
version=0.15.1
|
2024-02-07 13:30:46 +01:00
|
|
|
revision=3
|
2024-02-05 15:25:01 +01:00
|
|
|
build_style=cargo
|
|
|
|
build_helper=qemu
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libgit2-devel openssl-devel libzstd-devel"
|
2024-03-20 17:10:22 +01:00
|
|
|
depends="openssh"
|
|
|
|
checkdepends="openssh"
|
2024-02-05 15:25:01 +01:00
|
|
|
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"
|
2024-03-07 14:30:54 +01:00
|
|
|
checksum=e39f80edaa01da29e86782424d031c38324eabff10c44704781c80fd60c9fb0e
|
2024-02-05 15:25:01 +01:00
|
|
|
conflicts="jj>=0"
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for f in target/*/release/jj; do
|
|
|
|
vbin $f
|
|
|
|
done
|
|
|
|
|
|
|
|
for _shell in bash fish zsh; do
|
2024-02-09 00:58:56 +01:00
|
|
|
vtargetrun ${DESTDIR}/usr/bin/jj util completion ${_shell} > jj.${_shell}
|
2024-02-05 15:25:01 +01:00
|
|
|
vcompletion jj.${_shell} ${_shell} jj
|
|
|
|
done
|
|
|
|
}
|