How do I add a Basic macro via an .oxt file to the “Application Macros” location?
unopkg –shared …
unopkg
LibreOffice Developer's Guide: Chapter 11 - LibreOffice Basic - The Document Foundation Wiki