summaryrefslogtreecommitdiff
path: root/libraries/haskell-xhtml/haskell-xhtml.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:30:25 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit2c683bcb6bc1cef152ccc17ee6246e6d775673cc (patch)
treec6b54ec9a01fce5e7b9058d3c8af5c791ef6c971 /libraries/haskell-xhtml/haskell-xhtml.SlackBuild
parent564772e5f2e34e23fd205faf9e906abc8d1cb5f4 (diff)
downloadslackbuilds-2c683bcb6bc1cef152ccc17ee6246e6d775673cc.tar.gz
libraries/haskell-xhtml: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/haskell-xhtml/haskell-xhtml.SlackBuild')
-rw-r--r--libraries/haskell-xhtml/haskell-xhtml.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-xhtml/haskell-xhtml.SlackBuild b/libraries/haskell-xhtml/haskell-xhtml.SlackBuild
index b16ed39cca..288b27183f 100644
--- a/libraries/haskell-xhtml/haskell-xhtml.SlackBuild
+++ b/libraries/haskell-xhtml/haskell-xhtml.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=xhtml
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-xhtml
VERSION=${VERSION:-3000.2.0.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then