Package Details: yaylog 3.17.7-1

Git Clone URL: https://aur.archlinux.org/yaylog.git (read-only, click to copy)
Package Base: yaylog
Description: A CLI utility to list installed packages with filtering and sorting, written in Go.
Upstream URL: https://github.com/Zweih/yaylog
Keywords: aur cli dependencies expac filtering go history installed-packages log pacman required-by terminal yay
Licenses: MIT
Conflicts: yaylog-bin, yaylog-git
Provides: yaylog
Submitter: Zweih
Maintainer: Zweih
Last Packager: Zweih
Votes: 4
Popularity: 1.39
First Submitted: 2024-11-26 19:06 (UTC)
Last Updated: 2025-03-11 15:26 (UTC)

Latest Comments

Zweih commented on 2025-02-17 23:36 (UTC)

@Muflon can do! An update will be pushed out by EOD of 2/18/2025.

Muflone commented on 2025-02-17 22:34 (UTC)

@zweih would you please build this package from sources or it will be deleted as it's a duplicate of yaylog-bin

m040601 commented on 2025-02-09 19:10 (UTC) (edited on 2025-02-09 19:26 (UTC) by m040601)

Thanks for the PKGBUILD. Really nice little tool in Go. I also use yay and like the name "yaylog"

micwoj92 commented on 2025-01-24 00:59 (UTC)
Needs go in makedeps.
... @micwoj92: Nice catch, updated.
21 hours   Update to 3.0.0             Fernando N
- makedepends = go
34   if [[ $(vercmp "$previous_version" "3.0.0") -lt 0 ]]; then
35     echo "==> yaylog has been upgraded to a precompiled binary as of version 3.0.0."
36     echo "==> If you prefer to build from source, please install the yaylog-git package."
37   fi
38 }

That above is a little bit messy.

@zweih

I think you are confusing this "yaylog" PKGBUILD and the "yaylog-bin". And the "yaylog-git".

You need to do as micwoj92 told you.

As of this moment the way you have it, this "yaylog" PKGBUILD isnt building anything from source files. It just goes to github and pulls a released tar.gz containing the precompiled binary and the man page.

That's not the job for this "yaylog" PKGBUILD. That's the job for the "yaylog-bin" PKGBUILD.

The job for this "yaylog" PKGBUILD is to pull a specific release tar.gz containig source code. Not a binary. It then uses go to compile it.

36     echo "==> If you prefer to build from source, please install the yaylog-git package."

No. If you prefer to build from source you choose between "yaylog" or "yaylog-git". Both build from source.

You choose the "yaylog-git" if you want the latest/freshest/riskiest, keeps changing and rebuilding on your computer whenever there is activity on github. You choose the "yaylog" if you want a more stable one. Only rebuilds when there is a "release" on github.

The "yaylog-git" PKGBUILD should be almost exatctly as this "yaylog" PKGBUILD.

The only difference is that you go to github to (git clone) pull the latest fresh source. Instead of downloading a specific tar.gz containing source code.

You also have it wrong there and need to correct, https://aur.archlinux.org/packages/yaylog-git

12 source=("${url}/releases/download/v${pkgver}/yaylog-v${pkgver}.tar.gz")

The source of "XXX-git" PKGBUILDs should be git+https

13 source=("git+https://github.com/XXXXYYYYZZZZ...

Ask for help if you need. Dont forget to check the Arch wiki on AUR/PKGBUILDs/makepkg etc.

Zweih commented on 2025-01-24 01:38 (UTC)

@micwoj92: Nice catch, updated.

micwoj92 commented on 2025-01-24 01:20 (UTC)

makedepends, not depends.

Zweih commented on 2025-01-24 01:16 (UTC)

@micwoj92: Updated.

micwoj92 commented on 2025-01-24 00:59 (UTC)

Needs go in makedeps.