aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:22:26 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commit239b8b73d3576120b8685c4579a616e7c6c46544 (patch)
tree3b58cca4364314050da0e5d2e20916fe27b5cdfd
parentba4ab0ee7e63bec9d2f88803a2d3dba9c89be8d5 (diff)
libraries/haskell-parsec: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-parsec/README4
-rw-r--r--libraries/haskell-parsec/haskell-parsec.SlackBuild7
-rw-r--r--libraries/haskell-parsec/haskell-parsec.info2
3 files changed, 6 insertions, 7 deletions
diff --git a/libraries/haskell-parsec/README b/libraries/haskell-parsec/README
index 41da17b45c17..04dfcedd2a77 100644
--- a/libraries/haskell-parsec/README
+++ b/libraries/haskell-parsec/README
@@ -1,12 +1,10 @@
-haskell-parsec (Monadic parser combinators for Haskell)
-
Parsec is designed from scratch as an industrial-strength parser
library. It is simple, safe, well documented, has extensive
libraries and good error messages, and is also fast. It is defined
as a monad transformer that can be stacked on arbitrary monads, and
it is also parametric in the input stream type.
-This requires ghc and haskell-mtl.
+This requires ghc, haskell-transformers, haskell-mtl, and haskell-syb.
After uninstalling, run this command to unregister the package from the ghc
package database: ghc-pkg recache
diff --git a/libraries/haskell-parsec/haskell-parsec.SlackBuild b/libraries/haskell-parsec/haskell-parsec.SlackBuild
index 196478cc71fa..94a66d7bd6b2 100644
--- a/libraries/haskell-parsec/haskell-parsec.SlackBuild
+++ b/libraries/haskell-parsec/haskell-parsec.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=parsec
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-parsec
VERSION=${VERSION:-3.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-parsec/haskell-parsec.info b/libraries/haskell-parsec/haskell-parsec.info
index 2ec8cefe1cf0..9d6204f77d88 100644
--- a/libraries/haskell-parsec/haskell-parsec.info
+++ b/libraries/haskell-parsec/haskell-parsec.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"