also, sometimes you need to delete dependencies from pkgbuild file, i was trying to build a package and it was saying that python is missing while it was installed! i just deleted it from pkgbuild and compiled whithout problem. i take pkgbuild from arch aur but sometimes you need to modify it π
jyou have to hunt dependencies π sometimes it is too much sometime it is just 1-2 dependencies and everything is ok.
also you can try appimage - snap - flatpack ...