Permalink
Browse files

README.md: updated to reflect the simplified command line syntax

  • Loading branch information...
peti committed Apr 19, 2011
1 parent ce4511a commit 571bbb1490a1503d4133c1111f96e1b503ec3b33
Showing with 10 additions and 29 deletions.
  1. +10 −29 README.md
View
@@ -1,36 +1,19 @@
cabal2arch
==========
-cabal2arch is a tool used to convert CABAL ([Common Architecture for Building
-Applications and Libraries][1]) files into [ArchLinux][2] source packages.
+cabal2arch is a tool used to convert CABAL ([Common Architecture for
+Building Applications and Libraries][1]) files into [ArchLinux][2]
+source packages.
-Commands
---------
+Usage
+-----
-cabal2arch has two subcommands:
+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:
-1. `conv`
-
- Convert a single package description (CABAL file) into a ArchLinux source
- package.
-
-1. `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 "<pkgname> <version>".
-
-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
+ % cabal2arch puremd5.cabal
+ % cabal2arch http://hackage.haskell.org/packages/archive/pureMD5/2.1.0.1/pureMD5.cabal
Build and install
-----------------
@@ -41,7 +24,5 @@ Run the well-known triple:
% runhaskell Setup.lhs build
% runhaskell Setup.lhs install
-Adding CABAL options as needed.
-
[1]: http://www.haskell.org/ghc/docs/latest/html/Cabal/
[2]: http://www.archlinux.org/

0 comments on commit 571bbb1

Please sign in to comment.