Install alpine-sdk also?
I've often had it on a fresh install, run install-makedepends some-package
and then copy the commands from APKBUILD but this quickly fails because e.g. C++ compiler is missing.
Since I know what this means, it's quickly resolved with sudo apk add g++ musl-dev
but I imagine other people won't have an easy time with that.
I think alpine-sdk
should include everything that would be assumed to be installed already, so might be good to add this as part of the .makedepends-some-package
virtual package dependencies.