diff --git a/util/misc/nnn/actions.py b/util/misc/nnn/actions.py new file mode 100644 index 0000000000..70e2d1c7ce --- /dev/null +++ b/util/misc/nnn/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, pisitools, get + +i = "PREFIX=/usr" + +def setup(): + pass + +def build(): + autotools.make(i) + +def install(): + autotools.rawInstall("DESTDIR=%s %s" % (get.installDIR(), i)) + pisitools.insinto("/usr/share/bash-completion/completions", "misc/auto-completion/bash/nnn-completion.bash", "nnn") + pisitools.insinto("/usr/share/zsh/functions/Completion/Unix", "misc/auto-completion/zsh/_nnn") + pisitools.insinto("/usr/share/applications", "misc/desktop/nnn.desktop") diff --git a/util/misc/nnn/pspec.xml b/util/misc/nnn/pspec.xml new file mode 100644 index 0000000000..ccd6c8da02 --- /dev/null +++ b/util/misc/nnn/pspec.xml @@ -0,0 +1,49 @@ + + + + + nnn + https://github.com/jarun/nnn + + fury + uglyside@yandex.ru + + BSD-2-Clause + app:console + util.misc + n³ The unorthodox terminal file manager. + nnn (n³) is a full-featured terminal file manager. It's tiny, nearly 0-config and incredibly fast. + + https://github.com/jarun/nnn/releases/download/v4.1/nnn-v4.1.tar.gz + + + gcc + ncurses-devel + libpcre-devel + readline-devel + + + + + nnn + + ncurses + readline + + + /usr/bin/nnn + /usr/share/ + /usr/share/man/man1 + + + + + + 2022-04-14 + 4.1 + First build. + fury + uglyside@yandex.ru + + +