summaryrefslogtreecommitdiffstats
path: root/libraries/haskell-digest/haskell-digest.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/haskell-digest/haskell-digest.SlackBuild')
-rw-r--r--libraries/haskell-digest/haskell-digest.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-digest/haskell-digest.SlackBuild b/libraries/haskell-digest/haskell-digest.SlackBuild
index d7fbb82c82..29a1e37cf7 100644
--- a/libraries/haskell-digest/haskell-digest.SlackBuild
+++ b/libraries/haskell-digest/haskell-digest.SlackBuild
@@ -6,12 +6,13 @@
# Modified by Mikko Värri <vmj@linuxbox.fi>
# Public domain.
-SRCNAM=digest
-PRGNAM=haskell-$SRCNAM
-VERSION=${VERSION:-0.0.0.8}
+PRGNAM=haskell-digest
+VERSION=${VERSION:-0.0.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then