This tool is no longer maintained
Nowadays we use cblrepo to maintain the haskell packages in HABS.
Please let us know if you would have use of
cabal2arch and want to take over maintainership.
cabal2arch is a tool used to convert CABAL (Common Architecture for Building Applications and Libraries) files into ArchLinux source packages.
As its only argument, cabal2arch expects a file path, directory path, or URL to the Cabal description of the package that should be converted. For example:
% cabal2arch puremd5.cabal % cabal2arch http://hackage.haskell.org/packages/archive/pureMD5/188.8.131.52/pureMD5.cabal
Build and install
Run the well-known triple:
% runhaskell Setup.lhs configure % runhaskell Setup.lhs build % runhaskell Setup.lhs install