nnn file manager.
This commit is contained in:
@@ -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")
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>nnn</Name>
|
||||||
|
<Homepage>https://github.com/jarun/nnn</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD-2-Clause</License>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<PartOf>util.misc</PartOf>
|
||||||
|
<Summary>n³ The unorthodox terminal file manager.</Summary>
|
||||||
|
<Description>nnn (n³) is a full-featured terminal file manager. It's tiny, nearly 0-config and incredibly fast.</Description>
|
||||||
|
<Archive sha1sum="56d30e26b6c10c9bd021358bbcd6f0961fdc6191" type="targz">
|
||||||
|
https://github.com/jarun/nnn/releases/download/v4.1/nnn-v4.1.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>gcc</Dependency>
|
||||||
|
<Dependency>ncurses-devel</Dependency>
|
||||||
|
<Dependency>libpcre-devel</Dependency>
|
||||||
|
<Dependency>readline-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>nnn</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>ncurses</Dependency>
|
||||||
|
<Dependency>readline</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin/nnn</Path>
|
||||||
|
<Path fileType="data">/usr/share/</Path>
|
||||||
|
<Path fileType="manpages">/usr/share/man/man1</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2022-04-14</Date>
|
||||||
|
<Version>4.1</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user