use alienfile;

plugin 'PkgConfig' => 'libgraphqlparser';

share {
    plugin 'Download::GitHub' => (
        github_user => 'hugmeir',
        github_repo => 'libgraphqlparser',
    );

    plugin 'Build::CMake' => ();
    build [
        [
            '%{cmake}',
                '.',
                @{ meta->prop->{plugin_build_cmake}->{args} },,
                '%{.install.extract}',
        ],
        '%{make}',
        '%{make} install',
    ];
};