Package Details: freshfetch-git 0.2.0.r7.gace04ea-1

Git Clone URL: https://aur.archlinux.org/freshfetch-git.git (read-only, click to copy)
Package Base: freshfetch-git
Description: A fresh take on Neofetch
Upstream URL: https://github.com/K4rakara/freshfetch
Licenses: MIT
Conflicts: freshfetch, freshfetch-git
Provides: freshfetch
Submitter: k4rakara
Maintainer: k4rakara (Crstian)
Last Packager: Crstian
Votes: 3
Popularity: 0.000160
First Submitted: 2020-09-04 18:12 (UTC)
Last Updated: 2023-11-23 18:02 (UTC)

Latest Comments

korimitsu commented on 2024-02-24 18:49 (UTC)

Does not build anymore:

xiota commented on 2023-12-20 07:12 (UTC) (edited on 2023-12-20 16:41 (UTC) by xiota)

Deleting the v from pkgver is insufficient. The pkgver() function needs to be updated. Try:

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

Other issues:

  • Guard path variables with quotes because they can contain spaces
    • $srcdir, $pkgdir, etc.
    • $srcdir is the pwd at the start of every function, so cd $srcdir/freshfetch can be changed to cd freshfetch.
  • Do not end every line with ;. This is not C.
  • Remove freshfetch-git from conflicts. Packages should not conflict with themselves.

Crstian commented on 2023-11-23 18:03 (UTC)

Fixed

xiota commented on 2023-09-18 08:11 (UTC)

Version shouldn't have v prefix. Please update pkgver() to remove it.

Note: No need to add epoch because [0-9] > v[0-9].

Neko-san commented on 2021-08-02 02:33 (UTC)

This doesn't compile for some reason?

yochananmarqos commented on 2020-09-04 21:46 (UTC)

Please follow VCS & Rust package guidelines. See example PKGBUILD.

namcap detects libxcb as a dependency as well:

Dependency libxcb detected and not included (libraries ['usr/lib/libxcb.so.1'] needed in files ['usr/bin/freshfetch'])