Package Details: hyprlogin-git 0.0.0.r431.254a6a1-1

Git Clone URL: https://aur.archlinux.org/hyprlogin-git.git (read-only, click to copy)
Package Base: hyprlogin-git
Description: Work-in-progress greetd greeter forked from hyprlock
Upstream URL: https://github.com/AuthenticSm1les/hyprlogin
Licenses: BSD-3-Clause
Conflicts: hyprlogin
Provides: hyprlogin
Submitter: smiley
Maintainer: smiley
Last Packager: smiley
Votes: 1
Popularity: 0.142337
First Submitted: 2026-04-13 09:44 (UTC)
Last Updated: 2026-05-30 09:32 (UTC)

Latest Comments

shinka commented on 2026-05-24 08:50 (UTC)

You set the pkgver variable to 0.1.0, but in the pkgver() function it is hardcoded to 0.0.0. This causes the version shown during update checks to be 0.1.0, while the built package version becomes 0.0.0. As a result, it will always report that a new version is available, even when the local package is already up to date. Generally, -git packages do not need manual version updates; the version should be generated automatically.

pkgver=0.1.0
pkgver() {
  cd "$srcdir/$_pkgname"
  printf '0.0.0.r%s.%s' \
    "$(git rev-list --count HEAD)" \
    "$(git rev-parse --short HEAD)"
}