aboutsummaryrefslogtreecommitdiff
path: root/libraries/haskell-fgl/haskell-fgl.SlackBuild
diff options
context:
space:
mode:
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