termux-packages/packages/nnn/build.sh

21 lines
862 B
Bash
Raw Normal View History

2018-09-27 21:39:18 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/jarun/nnn
2018-09-28 19:00:11 +02:00
TERMUX_PKG_DESCRIPTION="Free, fast, friendly file browser"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.2
2021-08-03 21:56:01 +02:00
TERMUX_PKG_REVISION=2
2018-09-27 21:39:18 +02:00
TERMUX_PKG_SRCURL=https://github.com/jarun/nnn/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5675f9fe53bddfd92681ef88bf6c0fab3ad897f9e74dd6cdff32fe1fa62c687f
TERMUX_PKG_DEPENDS="debianutils, file, findutils, readline, wget, libandroid-support, lzip"
TERMUX_PKG_BUILD_IN_SRC=true
2021-07-26 18:09:41 +02:00
termux_step_post_make_install() {
install -Dm600 misc/auto-completion/bash/nnn-completion.bash \
2021-08-03 21:56:01 +02:00
$TERMUX_PREFIX/share/bash-completion/completions/nnn
2021-07-26 18:09:41 +02:00
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
}