There is an AUR package that errors when I update it, and it has been like that for a while so I wondered if I could fix it myself?
The Package is here https://aur.archlinux.org/packages/filebrowser-bin.
You can see my comment explaining the error under the username “mub”.
Did you change something in the license file yourself? Check your yay cache and perhaps delete the cached files for this package.
While there seem to be other issues with the PKGBUILD (typo for example), this seems like a problem with your local setup and not the package. Note that using AUR helpers like yay are not supported, so check if the package builds correctly manually.