mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
11d475bdce
This commit has been automatically submitted by Github Actions.
20 lines
865 B
Bash
20 lines
865 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/jarun/nnn
|
|
TERMUX_PKG_DESCRIPTION="Free, fast, friendly file browser"
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="5.0"
|
|
TERMUX_PKG_SRCURL=https://github.com/jarun/nnn/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=31e8fd85f3dd7ab2bf0525c3c0926269a1e6d35a5343a6714315642370d8605a
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="file, findutils, readline, wget, libandroid-support, lzip"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_post_make_install() {
|
|
install -Dm600 misc/auto-completion/bash/nnn-completion.bash \
|
|
$TERMUX_PREFIX/share/bash-completion/completions/nnn
|
|
install -Dm600 misc/auto-completion/fish/nnn.fish \
|
|
$TERMUX_PREFIX/share/fish/vendor_completions.d/nnn.fish
|
|
install -Dm600 misc/auto-completion/zsh/_nnn \
|
|
$TERMUX_PREFIX/share/zsh/site-functions/_nnn
|
|
}
|