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.