This formula installs unar and lsar, the first one can extract archives with different formats and the last one list the contents of an archive.
It was already posted on #15322, but while updating to 1.4 I messed it.
Now libXADMaster.a and XADMaster.framework are also installed.
It would be nice if upstream provided a cleaner method of installing this software.
What do you mean, a Makefile?
Installing and building XADFramework can be removed, so it would just build and install lsar and unar.
I have made my own formula for this and have been using it for some time without any problem. The best way to do it is to download the pre-built "legacy" versions (which, despite the name, work 100% fine on 10.8.3 and Lion)---these legacy versions are simply de-sandboxified forms of what's on the App Store, and are required for running unar and lsar on Snow Leo and below.
In short, the Legacy versions work for everybody, the non-Legacy just for 10.7 and 10.8.
My formula may be viewed here: https://gist.github.com/chdiza/5376186
@chdiza it's a good idea, but some people may want to build from source, also you can install the manpages and the bash completion scripts, which are useful.
Add formula unar
I've updated to 1.6.
@jacknagel If you prefer to use a Makefile, I can adapt one of the provided makefiles and then post it upstream.
I'm going to pull this, with minor edits. Only thing I'm not sure of is where the Framework should be copied to.
Also, should the headers be symlinked form the Framework instead of copied?
Signed-off-by: Adam Vandenberg <firstname.lastname@example.org>
Well, I don't know where frameworks are usually put, and I think there wouldn't be any problem if the headers are symlinked.
I personally don't use the framework, I'm just interested in the programs, so if you prefer not to install it, I have no problem.