With pamac cli you can build an AUR package even if AUR is not enabled in Pamac UI.
Because some AUR packages require to have base-devel then you fist install those and with pamac cli just run: pamac build <package-name>
Because Pamac UI settings are stored in /etc/pamac.conf then you just have to uncomment the line:
You can do that via terminal with:
sudo sed -Ei '/EnableAUR/s/^#//' /etc/pamac.conf
To comment it back
sudo sed -Ei '/EnableAUR/s/^/#/' /etc/pamac.conf
And you can do the same with all the lines that enable or disable something in /etc/pamac.conf
really? i remember that i tried pamac install bootiso (some package from aur) and it didnt work. but i didnt try with build. so i guess you can build from AUR even if its not enabled and you cannot install from AUR if its not enabled. correct?