mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/nnn: Version bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST nnn-1.6.tar.gz 37456 BLAKE2B 90a6bcf7123b763585a05d5898ecee129561fa11dddbc40125f536b96315e4847b6187615df2bb6e0262d3df5efeec83d6681092ed69e4b65cd5486cf396e7e6 SHA512 7172f37f98f15b37cd2959c5ad144d32f55cde9cd2fe3221fc7a23887d3326da924c9be0bdc61a01a4d98ceb9b03de2420a66cc2cbf94a2ae1547da206e4c49a
|
||||
DIST nnn-1.8.tar.gz 42534 BLAKE2B acf1f9e211ddf688da96c77364f8eb2d12c853fa528774f2a3f8fa146203b155df089f6a3c995f0415d5349e9bb0c519cd0776c77094a83c23ecfe45561c846d SHA512 dfa3fc20cc9d77dc6a998913d79c1f98467f9e0f475d43317fe5b3b7c85f04a8aa1508305307873115ff810f5e212272e8348af9d8bd5283f48ad76ed34cad55
|
||||
|
||||
47
app-misc/nnn/nnn-1.8.ebuild
Normal file
47
app-misc/nnn/nnn-1.8.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# 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"
|
||||
IUSE="bash-completion fish-completion zsh-completion"
|
||||
|
||||
DEPEND="sys-libs/ncurses:0=
|
||||
sys-libs/readline:0="
|
||||
RDEPEND="${DEPEND}
|
||||
fish-completion? ( app-shells/fish )
|
||||
zsh-completion? ( app-shells/zsh )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
sed -i -e '/strip/d' Makefile || die "sed failed"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="/usr" DESTDIR="${D}" install
|
||||
|
||||
use bash-completion &&
|
||||
newbashcomp scripts/auto-completion/bash/nnn-completion.bash nnn
|
||||
|
||||
if use fish-completion; then
|
||||
insinto /usr/share/fish/completions
|
||||
doins scripts/auto-completion/fish/nnn.fish
|
||||
fi
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins scripts/auto-completion/zsh/_nnn
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user