Package Details: lf-git r519.8327505-1

Git Clone URL: (read-only, click to copy)
Package Base: lf-git
Description: lf is a terminal file manager written in Go
Upstream URL:
Licenses: MIT
Conflicts: lf
Provides: lf
Submitter: ianberinger
Maintainer: ianberinger
Last Packager: ianberinger
Votes: 10
Popularity: 0.055517
First Submitted: 2016-08-21 20:17
Last Updated: 2019-11-02 23:07

Required by (1)

Sources (1)

Latest Comments

leandro.vital commented on 2020-04-04 20:25

Please pkgver() does not update the version.


pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

leandro.vital commented on 2020-04-04 20:10

Please fix this build

build() {
    export GOPATH="${srcdir}"/gopath
        cd "${srcdir}/${_pkgname}"
    go mod vendor
    version=r$pkgver ./gen/ -mod=vendor -trimpath
    # clean now to ensure makepkg --clean works
    go clean -modcache

heitzmann commented on 2019-10-26 13:22

Please add a make clean step to avoid go dependencies issues:

... rm: cannot remove '~/.cache/yay/lf-git/src/go/pkg/mod/': Permission denied ...

Please see

haawda commented on 2019-07-02 06:42

The versioned dependency on "go" does not work (go-pie 2:1.12.6-1 from thee repos installed).

nvllsvm commented on 2019-07-01 22:22

@ianberinger - the application version is not set correctly; lf -version is blank. Modifying the build() function in the PKGBUILD to the below fixes the issue:

build() {
    cd "${srcdir}/${_pkgname}"
    GOPATH="${srcdir}/go" ./gen/

ianberinger commented on 2016-11-25 13:53

Thanks @sekret, I've pushed an update that fixes the issue.

sekret commented on 2016-11-24 11:53

Namcap says

Checking lf-git-r163.bfd33f8-1-x86_64.pkg.tar.xz
lf-git E: Missing custom license directory (usr/share/licenses/lf-git)

Please use

install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 ./ "${pkgdir}/usr/share/doc/${pkgname}/"

(not _pkgname, but pkgname, because lf-git is the actual pkgname!)

ianberinger commented on 2016-10-03 20:43

@Ville.Kovacs: Thanks for reporting this. Should be fixed now.

Ville.Kovacs commented on 2016-10-03 19:18

==> Starting build()...
client.go:10:2: cannot find package "" in any of:
/usr/lib/go/src/ (from $GOROOT)
($GOPATH not set)
==> ERROR: A failure occurred in build().