Package Details: lf-git r519.8327505-1

Git Clone URL: https://aur.archlinux.org/lf-git.git (read-only, click to copy)
Package Base: lf-git
Description: lf is a terminal file manager written in Go
Upstream URL: https://github.com/gokcehan/lf
Licenses: MIT
Conflicts: lf
Provides: lf
Submitter: ianberinger
Maintainer: ianberinger
Last Packager: ianberinger
Votes: 9
Popularity: 0.176437
First Submitted: 2016-08-21 20:17
Last Updated: 2019-11-02 23:07

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

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

Please pkgver() does not update the version.

change:

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/build.sh -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/gopkg.in/djherbis/times.v1@v1.2.0/util_test.go': Permission denied ...

Please see https://bbs.archlinux.org/viewtopic.php?pid=1847761#p1847761

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/build.sh
}

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 ./README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"

(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 "github.com/nsf/termbox-go" in any of:
/usr/lib/go/src/github.com/nsf/termbox-go (from $GOROOT)
($GOPATH not set)
==> ERROR: A failure occurred in build().