list files util.

This commit is contained in:
4fury-c3440d8
2021-10-13 18:08:45 +03:00
parent 3db93a37fb
commit 02e31a567a
2 changed files with 72 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "lf-r%s" % get.srcVERSION()
def build():
shelltools.export("version", "%s" % get.srcVERSION())
shelltools.system("GOPATH=%s gen/build.sh" % get.workDIR())
def install():
pisitools.dobin("lf")
pisitools.doman("lf.1")
pisitools.insinto("/usr/share/applications", "lf.desktop")
pisitools.dodoc("LICENSE", "README.md")
for i in ["etc/*"]:
pisitools.insinto("/usr/share/doc/lf/examples/", "%s" % i)
+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lf</Name>
<Homepage>https://godoc.org/github.com/gokcehan/lf</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>MIT</License>
<IsA>app:console</IsA>
<PartOf>util.misc</PartOf>
<Summary>Terminal file manager.</Summary>
<Description>lf (as in "list files") is a terminal file manager written in Go. It is heavily inspired by ranger with some missing and extra features.</Description>
<Archive sha1sum="56f1f1951772f7133971c45a614a4b92b6ee036a" type="targz">
https://github.com/gokcehan/lf/archive/refs/tags/r25.tar.gz
</Archive>
<BuildDependencies>
<Dependency>golang</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lf</Name>
<RuntimeDependencies>
<!-- <Dependency></Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="man">/usr/share/man/man1/lf.1</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-10-13</Date>
<Version>25</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>