Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

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 README.md
Octocat-spinner-32 Setup.lhs
Octocat-spinner-32 cabal2arch.cabal
README.md

cabal2arch

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

Commands

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 http://hackage.haskell.org/packages/archive/pureMD5/2.1.0.1/pureMD5.cabal

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.