addpkg(main/just): A handy way to save and run project-specific commands (#19712)

This commit is contained in:
Filipe Nascimento 2024-04-10 11:53:09 -03:00 committed by GitHub
parent 9567cf3b74
commit feb548a3d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

18
packages/just/build.sh Normal file
View File

@ -0,0 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://just.systems
TERMUX_PKG_DESCRIPTION="A handy way to save and run project-specific commands"
TERMUX_PKG_LICENSE="CC0-1.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.25.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/casey/just/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5a005a4de9f99b297ba7b5dc02c3365c689e579148790660384afee0810a2342
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_make_install() {
install -Dm644 -t "$TERMUX_PREFIX/share/man/man1/" "man/just.1"
install -Dm644 "completions/just.zsh" "$TERMUX_PREFIX/share/zsh/site-functions/_just"
install -Dm644 "completions/just.bash" "$TERMUX_PREFIX/share/bash-completion/completions/just"
install -Dm644 "completions/just.fish" "$TERMUX_PREFIX/share/fish/vendor_completions.d/just.fish"
}