diff options
author | 2019-07-25 13:30:51 +0300 | |
---|---|---|
committer | 2019-07-25 13:31:11 +0300 | |
commit | f2392de62c2463f0b161c6a20e903a08a5ef73a3 (patch) | |
tree | a6f82c1883681dc163179d1c0d2f6c6b97cdec93 /app-misc/nnn/nnn-2.5.ebuild | |
parent | dev-perl/File-BOM: Bump to version 0.160.0 re bug #690608 (diff) | |
download | gentoo-f2392de62c2463f0b161c6a20e903a08a5ef73a3.tar.gz gentoo-f2392de62c2463f0b161c6a20e903a08a5ef73a3.tar.bz2 gentoo-f2392de62c2463f0b161c6a20e903a08a5ef73a3.zip |
app-misc/nnn: Version bump (v2.5)
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-misc/nnn/nnn-2.5.ebuild')
-rw-r--r-- | app-misc/nnn/nnn-2.5.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-misc/nnn/nnn-2.5.ebuild b/app-misc/nnn/nnn-2.5.ebuild new file mode 100644 index 000000000000..8caa1e33b705 --- /dev/null +++ b/app-misc/nnn/nnn-2.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 toolchain-funcs + +DESCRIPTION="The missing terminal file browser for X" +HOMEPAGE="https://github.com/jarun/nnn" +SRC_URI="https://github.com/jarun/nnn/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-libs/ncurses:0= + sys-libs/readline:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + tc-export CC + sed -i -e '/strip/d' Makefile || die "sed failed" + +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + + newbashcomp scripts/auto-completion/bash/nnn-completion.bash nnn + + insinto /usr/share/fish/vendor_completions.d + doins scripts/auto-completion/fish/nnn.fish + + insinto /usr/share/zsh/site-functions + doins scripts/auto-completion/zsh/_nnn + + einstalldocs +} |