alexheretic / aurto

Arch Linux AUR tool for managing an auto-updating local 'aurto' package repository
MIT License
134 stars 9 forks source link

Detect VCS packages by presence of pkgver() function in PKGBUILD? #82

Open xiota opened 1 year ago

xiota commented 1 year ago

I have a -bin package that updates similarly to a VCS package, using pkgver() to update $pkgver because a new appimage is generated with every git commit. However, strictly speaking, this is not a VCS package, so using a VCS suffix wouldn't be accurate.

I do not use aurto, but a user of the -bin package does. Looking at aurto, I could not figure out, beyond the VCS suffixes, where/how updates are checked and performed. If not already implemented, instead of relying solely on package suffixes, maybe a list of VCS packages could be maintained based on whether pkgver() is present in the PKGBUILD when packages are added and built.