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