Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 Cabal2Arch
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Main.hs
Octocat-spinner-32 Setup.lhs
Octocat-spinner-32 cabal2arch.cabal


cabal2arch is a tool used to convert CABAL (Common Architecture for Building Applications and Libraries) files into ArchLinux source packages.


cabal2arch has two subcommands:

  1. conv

    Convert a single package description (CABAL file) into a ArchLinux source package.

  2. convtar

    Given a package list and a tarball of package descriptions create tree of ArchLinux source packages for the listed packages. The package list must contain lines of the format "".

Example usage

Examples for conv:

% cabal2arch conv puremd5.cabal
% cabal2arch conv

Example for convtar:

% cabal2arch convtar PKGLIST 00-index.tar my-abs

Build and install

Run the well-known triple:

% runhaskell Setup.lhs configure
% runhaskell Setup.lhs build
% runhaskell Setup.lhs install

Adding CABAL options as needed.

Something went wrong with that request. Please try again.