summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-20 10:36:38 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-20 10:36:50 +0300
commit9bf644fc018c3f871825858c562a51702bf4c6ef (patch)
treed41dbd4d7f216d4c793ad9c4fb64d6c53e59d9b2 /app-misc/nnn
parentdev-haskell/missingh: drop old (diff)
downloadgentoo-9bf644fc018c3f871825858c562a51702bf4c6ef.tar.gz
gentoo-9bf644fc018c3f871825858c562a51702bf4c6ef.tar.bz2
gentoo-9bf644fc018c3f871825858c562a51702bf4c6ef.zip
app-misc/nnn: Version bump (v3.4)
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-misc/nnn')
-rw-r--r--app-misc/nnn/Manifest1
-rw-r--r--app-misc/nnn/nnn-3.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest
index e9bfec26be51..1daf00584d7a 100644
--- a/app-misc/nnn/Manifest
+++ b/app-misc/nnn/Manifest
@@ -13,3 +13,4 @@ DIST nnn-3.0.tar.gz 102636 BLAKE2B 7756fa859198b61dacea5fade8d89f7903d012fac4003
DIST nnn-3.1.tar.gz 110005 BLAKE2B 13acf91c3333c00a1524e4bc819870768272509b6d6aebe177f26a90d27a64dc7ffd9725d94e6edeac30b261f6d63e03757f116d3f4e293ed0b06e41f66157c7 SHA512 f17bdcf95bba3eb50d20cb06725022bcdc2fae34a365e55dea1baa49e40c567e175a3d5c66fcf70f560e64a8933f0ed9a8ca39af67fd39edcb81c82be5aedca9
DIST nnn-3.2.tar.gz 143122 BLAKE2B 1d5cb823d274e0ca8d15be75a6df149697d81abd5c60a4b7c6335317d77f5a071b917e3322b618924ad792defe3333d38e58fda0195bc0ed79bf72df371171b5 SHA512 9cdc8d0d74162ddd4b90f69a4f558a25845732497ebdb129159fda658a799a949fe237013bf69a2d6a649433254ba2ed4c65f8f10cddd119f713c1d5518ea378
DIST nnn-3.3.tar.gz 148795 BLAKE2B 71aa01c6882b3ea95331cb97d309218b65b8a1ab515a026a49b90b9dfd3cf5eed9b1337bb1d1d39a4b3f9e21f4d2bc0f24b29c380b8b66a9e9d5e42139bfa387 SHA512 34b772b4a876f7b31fb7badc1d7854faacebf266e4bda29cba0d2ee8e6728b5e7a842a0964a7d28d82d39053c8325dcafe6dafeaae43e7a7cfcc0e5d5dc719e9
+DIST nnn-3.4.tar.gz 194844 BLAKE2B 5b41196af67720a3485bd68b6c08e4ab41e8308d5ed0e279ed4b215acf1cbe0e10ee3a39b47b74115111003ef5a3d9871c71bb54e3778bfbc6597eb7de751deb SHA512 91b19e9a4581c6367b5c90b8294232fb77d86df348a6b4bce0df2336cac14493bf48cad52e02e5b6b0027c2ea14e3b9f15cc70d78abe82687172169b958ca918
diff --git a/app-misc/nnn/nnn-3.4.ebuild b/app-misc/nnn/nnn-3.4.ebuild
new file mode 100644
index 000000000000..88ef20531476
--- /dev/null
+++ b/app-misc/nnn/nnn-3.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}