Hi gitterrost4, I don't think this is possible to do in PKGBUILD though. PKGBUILD contains information used by makepkg to build and install the package into a fakeroot environment, which is subsequently compressed into a package file and eventually installed into the system by pacman.
I need to do more research on this, many thanks for pointing it out.
Pinned Comments
j.taala commented on 2021-09-17 09:50 (UTC) (edited on 2021-12-21 22:53 (UTC) by j.taala)
@ntfc I was going to go the other way (update to 9.0.1 instead of reverting back to 8.11.1).
P.S. postman are pretty bad at updating their release notes page (even after a new version is out).
If you want to revert to any previous version you can do so by cloning the aur repo and changing the version in the PKGBUILD file and using makepkg to build it (it will download and install that version for you). E.g.:
Edit the
PKGBUILD
file with whatever editor you like: edit line 4 to bepkgver=8.11.1
or whatever version you like, then save and exit out of the editor and runupdpkgsums
will download the file and update sha for file in PKGBUILD so it will install with makepkg