aboutsummaryrefslogtreecommitdiff
path: root/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild')
-rw-r--r--libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild
index 043ba21bc1291..c54efaec1bad4 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