Ahoj,
your PKGBUILD needlessly clones the whole upstream repository again at version change.
Please change
source=("$_name-$pkgver::git+$url.git#tag=v$pkgver"
to
source=("$_name::git+$url.git#tag=v$pkgver"
in order to always use the already cloned git repository (if not deleted by the user) and only update and check out the current tag.
(And then also adapt the directories in the prepare(), build(), check() and package() function accordingly.)
Regards and thanks for maintaining!
Regards!
Pinned Comments
medaminezghal commented on 2026-05-15 22:58 (UTC)
@everyone I’m working towards making this package automatically updated by GitHub CI, this is my repository used to maintain my packages. Every package before it’s updated should be successfully builded in clean environment (ensured by CI). So if you encounter any errors, just clean the cache and try again. Everyone is welcomed to help improve packaging by making issue or improve the CI by pull request (I’m new to CI, in fact I wrote it using AI, I think it still need improvement, I would be happy if anyone put his experience to help improve the CI).