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