From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5BF3F138334 for ; Thu, 25 Oct 2018 17:45:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C2A3E0867; Thu, 25 Oct 2018 17:45:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3274FE0867 for ; Thu, 25 Oct 2018 17:45:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B436D335CCC for ; Thu, 25 Oct 2018 17:45:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA7AA449 for ; Thu, 25 Oct 2018 17:45:36 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1540489521.d7dc101f6f3bb3ab8f547cfd974bae57e451a4ee.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/nnn/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/nnn/Manifest app-misc/nnn/nnn-2.0.ebuild X-VCS-Directories: app-misc/nnn/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: d7dc101f6f3bb3ab8f547cfd974bae57e451a4ee X-VCS-Branch: master Date: Thu, 25 Oct 2018 17:45:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d0741b63-4648-4797-b90f-b1af082770c9 X-Archives-Hash: 4d037e6209b717a19125c80a4669f593 commit: d7dc101f6f3bb3ab8f547cfd974bae57e451a4ee Author: Mikle Kolyada gentoo org> AuthorDate: Thu Oct 25 17:45:21 2018 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Thu Oct 25 17:45:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7dc101f app-misc/nnn: Version bump (v2.0) Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 app-misc/nnn/Manifest | 1 + app-misc/nnn/nnn-2.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest index e2b28b1f3a2..28a5a3e1dd2 100644 --- a/app-misc/nnn/Manifest +++ b/app-misc/nnn/Manifest @@ -1,3 +1,4 @@ DIST nnn-1.6.tar.gz 37456 BLAKE2B 90a6bcf7123b763585a05d5898ecee129561fa11dddbc40125f536b96315e4847b6187615df2bb6e0262d3df5efeec83d6681092ed69e4b65cd5486cf396e7e6 SHA512 7172f37f98f15b37cd2959c5ad144d32f55cde9cd2fe3221fc7a23887d3326da924c9be0bdc61a01a4d98ceb9b03de2420a66cc2cbf94a2ae1547da206e4c49a DIST nnn-1.8.tar.gz 42534 BLAKE2B acf1f9e211ddf688da96c77364f8eb2d12c853fa528774f2a3f8fa146203b155df089f6a3c995f0415d5349e9bb0c519cd0776c77094a83c23ecfe45561c846d SHA512 dfa3fc20cc9d77dc6a998913d79c1f98467f9e0f475d43317fe5b3b7c85f04a8aa1508305307873115ff810f5e212272e8348af9d8bd5283f48ad76ed34cad55 DIST nnn-1.9.tar.gz 43405 BLAKE2B c085f13883eb379cc04b225d3a6bdbc95dcfb200a0c338bea82b64841918f41560a0b53ed49be0cf8eaec852eb1575d050197ece197fd655c2a3ba1c6cf20d57 SHA512 44eb3d569429ee27e35c0a1299e7cb248072b470b462a361eec3364163f03f577a1b28819cddfc9a85002d6ae90c61cc0633f0548c58cb154dfd8e6491c73369 +DIST nnn-2.0.tar.gz 45791 BLAKE2B dd6eb88302d39b1d5f321b3fa3a19f97c70477178f7c5678433be47fb8091ba6fa5b78f99dc2e15fb8d2c46fc012bab86b3b3ae1dd162357589e0926ed126d55 SHA512 73d6c0747461648e01b8145451a14a531002e0d005c59a3bef9d6d1a6cfc4ba7210a15879e92037af2c0e1d4c728b9c30894d7b029dedb2925634b4925ce2d72 diff --git a/app-misc/nnn/nnn-2.0.ebuild b/app-misc/nnn/nnn-2.0.ebuild new file mode 100644 index 00000000000..4d054798eaa --- /dev/null +++ b/app-misc/nnn/nnn-2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 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 +}