From 5ed6a7ae097fc5242f923dc36d17d866b8a59f90 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Thu, 6 Jun 2024 21:55:13 -0400 Subject: [PATCH] just: update to 1.28.0 --- srcpkgs/just/template | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/srcpkgs/just/template b/srcpkgs/just/template index d915592581bbf2..820caeb9f6d170 100644 --- a/srcpkgs/just/template +++ b/srcpkgs/just/template @@ -1,8 +1,10 @@ # Template file for 'just' pkgname=just -version=1.27.0 +version=1.28.0 revision=1 build_style=cargo +build_helper=qemu +make_check_args="-- --skip completions::bash" # requires git repo checkdepends="python3" short_desc="Just a command runner" maintainer="cinerea0 " @@ -10,7 +12,7 @@ license="CC0-1.0" homepage="https://github.com/casey/just" changelog="https://raw.githubusercontent.com/casey/just/master/CHANGELOG.md" distfiles="https://github.com/casey/just/archive/refs/tags/${version}.tar.gz" -checksum=3f7af44ce43fef5e54df2b64574930e036baadae4a66645e996c4bb2164bf2a3 +checksum=4c421d1e7b62c41055d53822a44752617ff13aebc76abd6713eb99875c127166 make_check=ci-skip # test fails when run as root # Fix failing test @@ -20,8 +22,11 @@ pre_check() { post_install() { vlicense LICENSE - vman man/just.1 - vcompletion completions/just.bash bash - vcompletion completions/just.fish fish - vcompletion completions/just.zsh zsh + _just="${DESTDIR}/usr/bin/just" + vtargetrun "${_just}" --man > just.1 + vman just.1 + for shell in bash fish zsh; do + vtargetrun "${_just}" --completions "${shell}" > "just.${shell}" + vcompletion "just.${shell}" "${shell}" + done }