summaryrefslogtreecommitdiff
path: root/libraries/haskell-html/haskell-html.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:14:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:41 -0600
commit284dd63eace23811c6b84ae4d5a27b1e7bbd4b0a (patch)
tree44edd44411c90e5d44447d3ecbbb6a94c85532d9 /libraries/haskell-html/haskell-html.SlackBuild
parent8f769b893e2cab5744cd190c0bc8e347899c285f (diff)
downloadslackbuilds-284dd63eace23811c6b84ae4d5a27b1e7bbd4b0a.tar.gz
libraries/haskell-html: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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