Package Details: lf-git 22.r2.g8739087-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: sebastka
Last Packager: sebastka
Votes: 19
Popularity: 0.012648
First Submitted: 2016-08-21 20:17 (UTC)
Last Updated: 2021-04-18 10:30 (UTC)

Dependencies (3)

Required by (7)

Sources (1)

Latest Comments

1 2 Next › Last »

sebastka commented on 2021-04-18 10:33 (UTC)

@haawda: fixed

haawda commented on 2021-04-18 10:17 (UTC)

pkgver is mot monotone increasing compared to previous one. Please use an epoch or remove the leading "r" from it.

kronikpillow commented on 2021-03-08 19:41 (UTC)

this package didn't want to update, until i actually removed the old build from the .cache

leandro.vital commented on 2020-04-04 20:25 (UTC)

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 (UTC) (edited on 2020-04-04 20:14 (UTC) by leandro.vital)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-07-01 22:22 (UTC) by nvllsvm)

@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 (UTC)

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

sekret commented on 2016-11-24 11:53 (UTC)

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!)