You are not logged in.
Greetings, I am new to the creation and rules about PKGBUILDS for posting on the AUR and was wondering if the pkgver has to be a constant, or if its allowed to be auto updated as I do in my script. I didn't see anything about this particular aspect in the guidelines. If there are any other issues as well please let me know!
Pertinent line:
pkgver=$(curl -s "https://api.github.com/repos/pineappleEA/pineapple-src/releases/latest" | grep "browser_download_url" | grep ".AppImage" | sed -n 's/.*EA-\([0-9]*\).*/\1/p')
Offline
It is generally okay to have the pkgver calculated. Makepkg supports a seperate pkgver function for doing this, and all VCS-packages ("*-git", "*.fossil", "*.svn") use it. If it makes sense for an appimage is maybe debatable (I do not use appimages).
Offline
Ah gotcha, so separate as in what I already have down below or is their an actual one dedicated purely for VCS esque packages? And I primarily chose this as the package receives up to multiple updates per day meaning it would always be out of date if I had to do it manually.
Offline
This seems to be a valid reason.
Offline
Ok thanks!
Offline