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