hplip-plugin package from AUR fails to build on pamac
Trying to build hplip-plugin on pamac gives the following error:
==> Validating source files with md5sums...
hplip-3.20.9-plugin.run ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
==> Entering fakeroot environment...
==> Starting package()...
/var/tmp/pamac-build-shaurya/hplip-plugin/PKGBUILD: line 23: cd: /var/tmp/pamac-build-shaurya/hplip-plugin/src/hplip-3.20.9-plugin: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
This does not happen with yay or other AUR helpers. I tried editing the package but can't make it work, and I don't enough programming to make a new one.