diff --git a/util/misc/lf/actions.py b/util/misc/lf/actions.py new file mode 100644 index 0000000000..68bd196a36 --- /dev/null +++ b/util/misc/lf/actions.py @@ -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) + diff --git a/util/misc/lf/pspec.xml b/util/misc/lf/pspec.xml new file mode 100644 index 0000000000..f06994b6cf --- /dev/null +++ b/util/misc/lf/pspec.xml @@ -0,0 +1,47 @@ + + + + + lf + https://godoc.org/github.com/gokcehan/lf + + fury + uglyside@yandex.ru + + MIT + app:console + util.misc + Terminal file manager. + 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. + + https://github.com/gokcehan/lf/archive/refs/tags/r25.tar.gz + + + golang + + + + + lf + + + + + /usr/bin + /usr/share/applications + /usr/share/man/man1/lf.1 + /usr/share/doc + + + + + + 2021-10-13 + 25 + First build. + fury + uglyside@yandex.ru + + + +