termux-packages/packages/nnn/build.sh
Leonid Pliushch 27afd9e665
auto updates: migrate config from github-projects.txt to build.sh-specific
Re-enable automatic updates after deleting github-projects.txt.

%ci:no-build
2021-10-04 13:43:31 +03:00

21 lines
868 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=4.3
TERMUX_PKG_SRCURL=https://github.com/jarun/nnn/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b6df8e262e5613dd192bac610a6da711306627d56573f1a770a173ef078953bb
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="debianutils, 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/completions/nnn.fish
install -Dm600 misc/auto-completion/zsh/_nnn \
$TERMUX_PREFIX/share/zsh/site-functions/_nnn
}