// AUR provider plugin — an external provider loaded at runtime by // PluginManager from the plugins/ directory next to the executable (or in // ~/.local/share/PacManager/plugins/). Wraps the yay/paru helpers so AUR // packages show up in search/installed/updates like any other provider. // // Built by default (see the FWS_BUILD_AUR_PLUGIN CMake option). #include "aur-manager.h" #include "provider-plugin.h" extern "C" const char* fws_plugin_kind() { return "provider"; } extern "C" const char* fws_plugin_id() { return "aur"; } extern "C" const char* fws_plugin_name() { return "AUR"; } extern "C" const char* fws_plugin_version() { return "1.0.0"; } extern "C" const char* fws_plugin_description() { return "Paquets communautaires Arch (AUR via yay/paru)"; } extern "C" const char* fws_plugin_author() { return "BlackAngelTV"; } extern "C" IPackageManager* fws_create_provider() { return new AurManager(); } // Helpers are installed from the AUR itself; the Plugins page can offer to // install yay when the provider is unavailable. extern "C" const char* fws_plugin_install_hint() { return "yay"; }