summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Mikko Värri2011-01-09 18:29:38 +0100
committer Robby Workman2011-01-10 22:04:43 +0100
commitb7c63a136fc3fc1fcb6b856a828665cb4ffa884e (patch)
tree49ec3a96d1d550ef3f9c7175baac7f372e4f7a43
parente103aa525900d9ddf4308ba449a1bb07593da380 (diff)
downloadslackbuilds-b7c63a136fc3fc1fcb6b856a828665cb4ffa884e.tar.gz
libraries/haskell-utf8-string: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-utf8-string/README2
-rw-r--r--libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild7
-rw-r--r--libraries/haskell-utf8-string/haskell-utf8-string.info2
3 files changed, 5 insertions, 6 deletions
diff --git a/libraries/haskell-utf8-string/README b/libraries/haskell-utf8-string/README
index 528d46cb49..b138b17ef6 100644
--- a/libraries/haskell-utf8-string/README
+++ b/libraries/haskell-utf8-string/README
@@ -1,5 +1,3 @@
-haskell-utf8-string (Support for reading and writing UTF8 Strings)
-
A UTF8 layer for IO and Strings. The utf8-string package provides
operations for encoding UTF8 strings to Word8 lists and back, and
for reading and writing UTF8 without truncation.
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
diff --git a/libraries/haskell-utf8-string/haskell-utf8-string.info b/libraries/haskell-utf8-string/haskell-utf8-string.info
index 5685eac508..2d5d86647f 100644
--- a/libraries/haskell-utf8-string/haskell-utf8-string.info
+++ b/libraries/haskell-utf8-string/haskell-utf8-string.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"