apkbuild: parse variable declarations from subpackage split functions
currently there's no (easy) way to get dependencies of subpackages; one possible solution would be to interpret the split functions separately, with an ExecHandler that ignores everything