summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 41da17b45c..04dfcedd2a 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 196478cc71..94a66d7bd6 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 2ec8cefe1c..9d6204f77d 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"