void-packages/srcpkgs/just/template

26 lines
671 B
Bash

# Template file for 'just'
pkgname=just
version=0.8.4
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/v${version}.tar.gz"
checksum=7aee472e4b70e62e89d7d5185493a3c680aeae4cc323c842e4c5b9b8af47040a
# 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
}