-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Expand file tree
/
Copy pathtemplate
More file actions
30 lines (28 loc) · 829 Bytes
/
template
File metadata and controls
30 lines (28 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'just'
pkgname=just
version=1.46.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>"
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=f60a578502d0b29eaa2a72c5b0d91390b2064dfd8d1a1291c3b2525d587fd395
# Fix failing test
pre_check() {
export USER=void
}
post_install() {
vlicense LICENSE
_just="${DESTDIR}/usr/bin/just"
vtargetrun "${_just}" --man > just.1
vman just.1
for shell in bash fish zsh; do
vcompletion "completions/just.${shell}" "${shell}"
done
}