just: update to 1.28.0

This commit is contained in:
cinerea0 2024-06-06 21:55:13 -04:00 committed by cinerea0
parent 8963394aea
commit ac25e68e65

View file

@ -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 <cinerea0@protonmail.com>"
@ -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
}