summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:16:24 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commit407b85060e7bf1d3f6ab26356eacef8ae4c72eea (patch)
treed960933a6a44052afd33d57cf51754590888379b
parentdbd2bf63cfcf9807bbdc838c550a6b6efa9ce1ba (diff)
downloadslackbuilds-407b85060e7bf1d3f6ab26356eacef8ae4c72eea.tar.gz
libraries/haskell-MonadCatchIO-mtl: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-MonadCatchIO-mtl/README4
-rw-r--r--libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild7
-rw-r--r--libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info2
3 files changed, 6 insertions, 7 deletions
diff --git a/libraries/haskell-MonadCatchIO-mtl/README b/libraries/haskell-MonadCatchIO-mtl/README
index 50f5b564ec..156680c936 100644
--- a/libraries/haskell-MonadCatchIO-mtl/README
+++ b/libraries/haskell-MonadCatchIO-mtl/README
@@ -1,8 +1,6 @@
-haskell-MonadCatchIO-mtl (Monad-transformer version of haskell-mtl)
-
Provides a monad-transformer version of the Control.Exception.catch
function. For this, it defines the MonadCatchIO class, a subset of
MonadIO. It defines proper instances for most monad transformers in
the mtl library.
-This requires haskell-mtl.
+This requires ghc, haskell-transformers, and haskell-mtl.
diff --git a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild
index 043ba21bc1..c54efaec1b 100644
--- a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild
+++ b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=MonadCatchIO-mtl
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-MonadCatchIO-mtl
VERSION=${VERSION:-0.3.0.1}
-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-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info
index cc38803a40..5f3a242ff0 100644
--- a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info
+++ b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"