void-packages/srcpkgs/just/template
2021-12-22 21:40:39 -06:00

26 lines
731 B
Bash

# Template file for 'just'
pkgname=just
version=0.10.5
revision=1
build_style=cargo
short_desc="Just a command runner"
maintainer="Wilson Birney <wpb@360scada.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=02e452c0045879161ce820dc66e60d10b3e2cb9b8b152ff86cdd9221eb65d1b2
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
}