summaryrefslogtreecommitdiff
path: root/libraries/haskell-stm/haskell-stm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/haskell-stm/haskell-stm.SlackBuild')
-rw-r--r--libraries/haskell-stm/haskell-stm.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-stm/haskell-stm.SlackBuild b/libraries/haskell-stm/haskell-stm.SlackBuild
index 873de56577..8d316e196d 100644
--- a/libraries/haskell-stm/haskell-stm.SlackBuild
+++ b/libraries/haskell-stm/haskell-stm.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=stm
-PRGNAM=haskell-$SRCNAM
-VERSION=${VERSION:-2.1.2.2}
+PRGNAM=haskell-stm
+VERSION=${VERSION:-2.2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then