paru
paru copied to clipboard
Allow period ('.') character in name of custom PKGBUILD packages
Affected Version
paru -V paru v2.0.0 - libalpm v13.0.2
Description
The new feature of specifying custom PKGBUILDs in paru.conf
does not allow package names to have a period in them, even if your package name needs a period. There are many AUR packages whose names have periods in them.
Output
paru.conf:
[whisper.cpp-clblast]
Path = ~/aur/whisper.cpp-clblast
Command:
~ paru
error: section can not be called whisper.cpp-clblast
The error is the repo name [whisper.cpp-clblast]
. You can name this bit whatever you want despite the names of the packages in the repo. Period is currently reserved as it may be used in future to restrict options to packages or scopes.
such as [options.spotify]
or [env.spotify]
.
How about representing a literal period with %2E
in the section name?
not sure why we'd use url encoding. The repo name is basically just visual so I'd just use a - personally.