Package Details: logo-ls 1.3.7-1

Git Clone URL: https://aur.archlinux.org/logo-ls.git (read-only, click to copy)
Package Base: logo-ls
Description: Modern ls command with vscode like file icon and git integrations
Upstream URL: https://github.com/Yash-Handa/logo-ls
Licenses: MIT
Submitter: Jojii
Maintainer: Jojii (Yash-Handa)
Last Packager: Jojii
Votes: 1
Popularity: 0.000000
First Submitted: 2020-09-23 12:02 (UTC)
Last Updated: 2021-01-19 17:53 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Jojii commented on 2020-09-23 14:38 (UTC)

@kgb33 Thank you. Fixed!

kgb33 commented on 2020-09-23 13:55 (UTC)

It looks like you're missing a cd "$pkgname" in prepare().

makepkg -s
...
==> Starting prepare()...
go: cannot find main module, but found .git/config in /home/kgb33/AUR/logo-ls
    to create a module there, run:
    cd .. && go mod init
==> ERROR: A failure occurred in prepare().
    Aborting...

Adding the following line in PKGBUILD fixes it.

  prepare() {
+     cd "$pkgname"
      go mod tidy
}