aboutsummaryrefslogtreecommitdiff
path: root/libraries/haskell-fgl/haskell-fgl.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:03:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:41 -0600
commit84515da5fd01d71f356e6aaff6df206d954f1ed1 (patch)
treec7f15e465f6690730262d1e3af3bb29b1a85b688 /libraries/haskell-fgl/haskell-fgl.SlackBuild
parent407d430b27c220ab8c112698d00bb45998e0c1d6 (diff)
libraries/haskell-fgl: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/haskell-fgl/haskell-fgl.SlackBuild')
-rw-r--r--libraries/haskell-fgl/haskell-fgl.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-fgl/haskell-fgl.SlackBuild b/libraries/haskell-fgl/haskell-fgl.SlackBuild
index ff1f72e7a63fa..238be494db345 100644
--- a/libraries/haskell-fgl/haskell-fgl.SlackBuild
+++ b/libraries/haskell-fgl/haskell-fgl.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=fgl
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-fgl
VERSION=${VERSION:-5.4.2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then