this is strange, there are rules for linux64 and linux but only x86_64 in arch(), what about what about ARM/RISC−V ? Will try on these platforms.
The syntax at line 32 should be ==, not =, else you will do an assignment, not a test of equality:
if [ "$ARCH" == "x86_64" ]; then
Pinned Comments
marcs commented on 2020-01-02 12:43 (UTC) (edited on 2020-01-02 13:08 (UTC) by marcs)
I know @damir, for some reason it's a path problem with aur-helpers, it seems that if the helper saves the package in a hidden folder then the Makefile fails.
For example yay saves this package in
$HOME/.cache/yay/openframeworks
(which is awful IMO) and start building it. If you move the package folder to a non hidden folder (like your$HOME
folder for example) then the build works.It's a bug with OpenFrameworks, hopefully will be resolved.
For now clone this package and build it with
makepkg
.