On Mon, 10 Nov 2025 at 13:58, Giovanni Santini <[email protected]> wrote: > > Hello, > > I've started experimenting with `pkgctl` for package maintainance. > > I am currently using it for a local copy of the AUR package "ampcode". > > I set up the nvchecker file to be: > > --- > > [ampcode] > source = "npm" > npm = "@sourcegraph/amp" > from_pattern = '([0-9.]+)-([a-z0-9]+)' > to_pattern = '\1+\2' > --- > > And my pkgver is: > > pkgver="0.0.1762617680+gaa03ea" > > However, `pkgctl version upgrade` reports: > > ==> ERROR: Non-standard pkgver declaration > > What am I doing wrong? > > > Bests, > > -- > Giovanni Santini >
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 > (_).
