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