30 lines
875 B
Bash
30 lines
875 B
Bash
# Template file for 'jujutsu'
|
|
pkgname=jujutsu
|
|
version=0.19.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgit2-devel openssl-devel libzstd-devel"
|
|
depends="openssh"
|
|
checkdepends="openssh"
|
|
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=d0b9db21894e65ec80fd7999f99023f1e65d15fa16b4ec76881247d9cd56dc55
|
|
conflicts="jj>=0"
|
|
|
|
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
|
|
}
|