28 lines
756 B
Bash
28 lines
756 B
Bash
# Template file for 'just'
|
|
pkgname=just
|
|
version=1.27.0
|
|
revision=1
|
|
build_style=cargo
|
|
checkdepends="python3"
|
|
short_desc="Just a command runner"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
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
|
|
make_check=ci-skip # test fails when run as root
|
|
|
|
# Fix failing test
|
|
pre_check() {
|
|
export USER=void
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vman man/just.1
|
|
vcompletion completions/just.bash bash
|
|
vcompletion completions/just.fish fish
|
|
vcompletion completions/just.zsh zsh
|
|
}
|