d = pakfire_parser_find_declaration(parser, template, name);
if (d && d->value)
return d->value;
+
+ // If still nothing was found, search in the "build" namespace
+ d = pakfire_parser_find_declaration(parser, "build", name);
+ if (d && d->value)
+ return d->value;
}
// Otherwise we walk up the namespace to find a match