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/126.96.36.199/pureMD5.cabal
Run the well-known triple:
% runhaskell Setup.lhs configure % runhaskell Setup.lhs build % runhaskell Setup.lhs install