diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-08-07 11:33:57 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-08-07 11:33:57 +0300 |
commit | 022cc591bdc537544a3a80986d18e0a0fdbd0e28 (patch) | |
tree | 96e6c3e4d22fbecec012e91a99e1e8eb686775e8 /app-misc/nnn | |
parent | media-sound/mpd: Version bump (v0.21.13) (diff) | |
download | gentoo-022cc591bdc537544a3a80986d18e0a0fdbd0e28.tar.gz gentoo-022cc591bdc537544a3a80986d18e0a0fdbd0e28.tar.bz2 gentoo-022cc591bdc537544a3a80986d18e0a0fdbd0e28.zip |
app-misc/nnn: Version bump (v2.6)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-misc/nnn')
-rw-r--r-- | app-misc/nnn/Manifest | 1 | ||||
-rw-r--r-- | app-misc/nnn/nnn-2.6.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest index 2320c8ce5d4c..2d47beadd897 100644 --- a/app-misc/nnn/Manifest +++ b/app-misc/nnn/Manifest @@ -5,3 +5,4 @@ DIST nnn-2.2.tar.gz 50955 BLAKE2B 010b68c20e7ce4ccc8df65192d7be0a76cb5a84973093d DIST nnn-2.3.tar.gz 56286 BLAKE2B cc1d79ccf467ba47fc4b50f335e7f2a9b1962555afacc4996c986c9b962950c1f645ce9b0f0e7555a842f429dfc80a24522613d5f447c5edff13111baa57df02 SHA512 416eb08a40534ff4b92b8757c75d8e599d2ea1cbfe7cdedaccac42fd819b1f15e3da839181b232036b1d63dd8bf7c82df801cb4c456e8917fbe47a9a25fae361 DIST nnn-2.4.tar.gz 62510 BLAKE2B 40a445bcf840afd4dcd5c4e94d1ca3af9aad6a8b8c801d97420a4f5f237bbc41cc7157bc43cd3c9ce83b04af3dbd7c6ecf467cf690922cfe36cfeff5f87ef365 SHA512 b285b14bb73e81a8480b19be7adf0b6efebc632cae82cddf9f040e644dd07dfef4e5c27df2e318aaa21eb1ac4d9e20b6d89f66b8e9b481160bc49f1302806722 DIST nnn-2.5.tar.gz 71811 BLAKE2B 9b9f926fbcb6ed89a971eaa53ebffdda1de4da29bb540807fb15eb1a9b468181783fc9db56b69105d0825f640d203a6615c4c804f4b45fbc30b854eecd146fcf SHA512 eb50b5368811a9b93caa385a94b2e6a63705bd0ba1db4dc9a3a628a42d11547d53095736e4afa6f73037064b2ef883fe9a60cb048279ba0dd9889503de7e5167 +DIST nnn-2.6.tar.gz 78668 BLAKE2B 5ac152e7a401d215ef0d833ecd6e67f193392ddb98f249b0b56257a6657b454bb03b73ae374a72f854c73bb423e4b39135de277e1785d480590ebe3b812b3a6b SHA512 dbb445d5f3bd64640c053d04cab7c7c6aa82034c4715236129b6079c69db57c870cf255d454aeb224c85ac9d52835999403285f1d4a4c72ea8a3d439a4e9e1eb diff --git a/app-misc/nnn/nnn-2.6.ebuild b/app-misc/nnn/nnn-2.6.ebuild new file mode 100644 index 000000000000..469c9e951d71 --- /dev/null +++ b/app-misc/nnn/nnn-2.6.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 misc/auto-completion/bash/nnn-completion.bash nnn + + insinto /usr/share/fish/vendor_completions.d + doins misc/auto-completion/fish/nnn.fish + + insinto /usr/share/zsh/site-functions + doins misc/auto-completion/zsh/_nnn + + einstalldocs +} |