Possible duplicate:How can I create a Safari extension package from the command line?
I am working on a web browser extension for Safari.
Is there a way to create a .safariextz package from a Linux or Mac command line, in the same way we can do this for Firefox and Chrome extensions?
I'm looking for this too.
It seems you can use XAR with the patch.
See also: How can I create a Safari extension package from the command line?