Hello,

On 2025-11-10 21:58, Tiago de Paula wrote:
That `+` sign is not allowed in `pkgver`. See
<https://wiki.archlinux.org/title/PKGBUILD#pkgver>:

It can contain letters, numbers, periods and underscores, but not a hyphen (-). 
If the author of the software uses one, replace it with an underscore (_).

I tried to replace the pluses with underscore, but still getting the same error:

```

(20:37) giovanni @ ~/Projects/AUR/wip/ampcode $ grep ^pkgver PKGBUILD
pkgver="0.0.1762617680_gaa03ea"
(20:37) giovanni @ ~/Projects/AUR/wip/ampcode $ cat .nvchecker.toml
[ampcode]
source = "npm"
npm = "@sourcegraph/amp"
from_pattern = '([0-9.]+)-([a-z0-9]+)'
to_pattern = '\1_\2'
(20:37) giovanni @ ~/Projects/AUR/wip/ampcode $ pkgctl version upgrade
📡 ampcode: query latest version
⌛ Upgrading: 1/1 [100%] ⠄⠀==> ERROR: Non-standard pkgver declaration

```

Is it a `pkgctl` bug?

--
Giovanni Santini

Reply via email to