Package Details: dracula-icons-git 1.0.0.2d3c83ca-2

Git Clone URL: https://aur.archlinux.org/dracula-icons-git.git (read-only, click to copy)
Package Base: dracula-icons-git
Description: Dark Icons Theme for Linux Desktops
Upstream URL: https://github.com/m4thewz/dracula-icons.git
Conflicts: dracula-icons
Provides: dracula-icons
Submitter: thorion3006
Maintainer: thorion3006
Last Packager: thorion3006
Votes: 9
Popularity: 0.146298
First Submitted: 2021-12-06 14:19 (UTC)
Last Updated: 2021-12-06 14:33 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

kseistrup commented on 2024-05-23 07:22 (UTC) (edited on 2024-05-23 07:23 (UTC) by kseistrup)

The current pkgver() scheme is broken: Because commit IDs are essentially random numbers, they don't increase in a monotonic fasion. The latest git commit today produces the version "1.0.0.b07ba2a5-1" while the installed version is "1.0.0.d0532ac3-1".

May I suggest the pkgver() be changed to e.g.:

printf "1.0.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"

Today that will give us

1.0.0.r14.gb07ba2a

I.e., the 14th commit, having a git hash of "b07ba2a".

That should be enough to have the version increase monotonically.

Cheers.