void-packages/srcpkgs/just/template
2021-05-03 20:25:09 -03:00

25 lines
671 B
Bash

# Template file for 'just'
pkgname=just
version=0.9.2
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=0f064d0ea9f3d8bbcd84c5e6a85243738bdb6f49d059f589fd6928c64ea6fb64
# 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
}