mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-15 14:20:53 +00:00
Explicitly declare termux_setup_rust in build script after removal in termux_step_make_install. This is done to quickly identify which packages are Rust based. %ci:no-build
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/ajeetdsouza/zoxide
|
|
TERMUX_PKG_DESCRIPTION="A faster way to navigate your filesystem"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.9.8"
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=1b276edbf328aafc86afe1ebce41f45ccba3a3125412e89c8c5d8e825b0c7407
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_rust
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
install -Dm644 contrib/completions/zoxide.bash "$TERMUX_PREFIX"/share/bash-completion/completions/zoxide
|
|
install -Dm644 contrib/completions/_zoxide "$TERMUX_PREFIX"/share/zsh/site-functions/_zoxide
|
|
install -Dm644 contrib/completions/zoxide.fish "$TERMUX_PREFIX"/share/fish/vendor_completions.d/zoxide.fish
|
|
install -Dm644 contrib/completions/zoxide.nu "$TERMUX_PREFIX"/share/nushell/vendor/autoload/zoxide.nu
|
|
install -Dm644 contrib/completions/zoxide.elv "$TERMUX_PREFIX"/share/elvish/lib/zoxide.elv
|
|
install -Dm644 man/man1/*.1 -t "$TERMUX_PREFIX"/share/man/man1/
|
|
}
|