summaryrefslogtreecommitdiff
path: root/libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:29:38 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commitb7c63a136fc3fc1fcb6b856a828665cb4ffa884e (patch)
tree49ec3a96d1d550ef3f9c7175baac7f372e4f7a43 /libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild
parente103aa525900d9ddf4308ba449a1bb07593da380 (diff)
downloadslackbuilds-b7c63a136fc3fc1fcb6b856a828665cb4ffa884e.tar.gz
libraries/haskell-utf8-string: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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