[pacman-dev] [PATCH] [Idea] makepkg: Extract from any file bsdtar can recognize

Allan McRae allan at archlinux.org
Sat May 29 19:01:51 EDT 2010

On 30/05/10 05:44, Nezmer wrote:
> If "file -bizL" does not return a supported type. Check if the dist file
> is recognized by bsdtar and if yes extract from it.
> Signed-off-by: Nezmer<git at nezmer.info>
> ---
> bsdtar can recognize many containers and compression algorithms.
> lzma is the best compression the GNU guys are using in their dist files.
> % file -bizL wget-1.12.tar.lzma
> application/octet-stream; charset=binary
> "file" output is not really useful.
> Using lzma can reduce the size of source packages by a good margin.

Is .lzma used by anyone these days?  I have seen no GNU projects using 
it in recent times given has .xz completely taken over as is its 
successor.   There is no point in doing this for a dead format.


More information about the pacman-dev mailing list