summaryrefslogtreecommitdiff
path: root/libraries/haskell-digest/haskell-digest.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:02:28 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:41 -0600
commit2f929d5d73c062f217fa6f40ca69d6ca472bdb75 (patch)
treefd5aedee80fd613f1ed0422cdb27849a770fe424 /libraries/haskell-digest/haskell-digest.SlackBuild
parent64d0b2ade3b55908b9e5868098ab3957c622964e (diff)
downloadslackbuilds-2f929d5d73c062f217fa6f40ca69d6ca472bdb75.tar.gz
libraries/haskell-digest: Updated for version 0.0.0.9.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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