1 |
commit: f21bdd8692da6be5908c0c204f17deaafe6b6dc9 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 24 08:38:45 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 24 08:38:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21bdd86 |
7 |
|
8 |
app-misc/nnn: Version bump (v2.1) |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-misc/nnn/Manifest | 1 + |
14 |
app-misc/nnn/nnn-2.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest |
18 |
index 28a5a3e1dd2..363de44a34b 100644 |
19 |
--- a/app-misc/nnn/Manifest |
20 |
+++ b/app-misc/nnn/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST nnn-1.6.tar.gz 37456 BLAKE2B 90a6bcf7123b763585a05d5898ecee129561fa11dddbc4 |
22 |
DIST nnn-1.8.tar.gz 42534 BLAKE2B acf1f9e211ddf688da96c77364f8eb2d12c853fa528774f2a3f8fa146203b155df089f6a3c995f0415d5349e9bb0c519cd0776c77094a83c23ecfe45561c846d SHA512 dfa3fc20cc9d77dc6a998913d79c1f98467f9e0f475d43317fe5b3b7c85f04a8aa1508305307873115ff810f5e212272e8348af9d8bd5283f48ad76ed34cad55 |
23 |
DIST nnn-1.9.tar.gz 43405 BLAKE2B c085f13883eb379cc04b225d3a6bdbc95dcfb200a0c338bea82b64841918f41560a0b53ed49be0cf8eaec852eb1575d050197ece197fd655c2a3ba1c6cf20d57 SHA512 44eb3d569429ee27e35c0a1299e7cb248072b470b462a361eec3364163f03f577a1b28819cddfc9a85002d6ae90c61cc0633f0548c58cb154dfd8e6491c73369 |
24 |
DIST nnn-2.0.tar.gz 45791 BLAKE2B dd6eb88302d39b1d5f321b3fa3a19f97c70477178f7c5678433be47fb8091ba6fa5b78f99dc2e15fb8d2c46fc012bab86b3b3ae1dd162357589e0926ed126d55 SHA512 73d6c0747461648e01b8145451a14a531002e0d005c59a3bef9d6d1a6cfc4ba7210a15879e92037af2c0e1d4c728b9c30894d7b029dedb2925634b4925ce2d72 |
25 |
+DIST nnn-2.1.tar.gz 48481 BLAKE2B cbf5dbcb2548e21996f3fa5b5399a56644d1e7aed6023c4ca4c2b960b2bab8833b9f8f1bfafb6d2cc2257730ebe1b3a80e0a253d81f154580888517fbfc50341 SHA512 4ce20944df613706545cffb70896b9c494ed0304a591b1ffdae4886ac3783c2c1ab321b336b9873bd8b1382bc9c6ae8e0226f7abb98fb461ed64b28e1302d8f2 |
26 |
|
27 |
diff --git a/app-misc/nnn/nnn-2.1.ebuild b/app-misc/nnn/nnn-2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..4d054798eaa |
30 |
--- /dev/null |
31 |
+++ b/app-misc/nnn/nnn-2.1.ebuild |
32 |
@@ -0,0 +1,39 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit bash-completion-r1 toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="The missing terminal file browser for X" |
41 |
+HOMEPAGE="https://github.com/jarun/nnn" |
42 |
+SRC_URI="https://github.com/jarun/nnn/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+DEPEND="sys-libs/ncurses:0= |
49 |
+ sys-libs/readline:0=" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ tc-export CC |
55 |
+ sed -i -e '/strip/d' Makefile || die "sed failed" |
56 |
+ |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ emake PREFIX="/usr" DESTDIR="${D}" install |
61 |
+ |
62 |
+ newbashcomp scripts/auto-completion/bash/nnn-completion.bash nnn |
63 |
+ |
64 |
+ insinto /usr/share/fish/vendor_completions.d |
65 |
+ doins scripts/auto-completion/fish/nnn.fish |
66 |
+ |
67 |
+ insinto /usr/share/zsh/site-functions |
68 |
+ doins scripts/auto-completion/zsh/_nnn |
69 |
+ |
70 |
+ einstalldocs |
71 |
+} |