summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Mikko Värri2011-01-09 18:20:33 +0100
committer Robby Workman2011-01-10 22:04:42 +0100
commit8425689d62ff13333a35b919a662fc61d828dc9a (patch)
tree809bc66c2411e2f7d83de47fe90c23a4ae41313f
parent2ee1aef32f326dce11e491f3cb83af2325988aea (diff)
downloadslackbuilds-8425689d62ff13333a35b919a662fc61d828dc9a.tar.gz
libraries/haskell-packedstring: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-packedstring/README4
-rw-r--r--libraries/haskell-packedstring/haskell-packedstring.SlackBuild7
-rw-r--r--libraries/haskell-packedstring/haskell-packedstring.info2
-rw-r--r--libraries/haskell-packedstring/slack-desc2
4 files changed, 7 insertions, 8 deletions
diff --git a/libraries/haskell-packedstring/README b/libraries/haskell-packedstring/README
index cf6cde6cd2..75d8b860b7 100644
--- a/libraries/haskell-packedstring/README
+++ b/libraries/haskell-packedstring/README
@@ -1,6 +1,4 @@
-haskell-packedstring (Packed Strings for Haskell)
-
-This library is deprecated and should not be used in new code.
+Haskell packedstring library is deprecated and should not be used in new code.
This requires ghc.
diff --git a/libraries/haskell-packedstring/haskell-packedstring.SlackBuild b/libraries/haskell-packedstring/haskell-packedstring.SlackBuild
index a1714565c0..297296b02b 100644
--- a/libraries/haskell-packedstring/haskell-packedstring.SlackBuild
+++ b/libraries/haskell-packedstring/haskell-packedstring.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=packedstring
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-packedstring
VERSION=${VERSION:-0.1.0.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-packedstring/haskell-packedstring.info b/libraries/haskell-packedstring/haskell-packedstring.info
index bafef6d489..e83b3acb64 100644
--- a/libraries/haskell-packedstring/haskell-packedstring.info
+++ b/libraries/haskell-packedstring/haskell-packedstring.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"
diff --git a/libraries/haskell-packedstring/slack-desc b/libraries/haskell-packedstring/slack-desc
index 386013bd36..0ec3e9268c 100644
--- a/libraries/haskell-packedstring/slack-desc
+++ b/libraries/haskell-packedstring/slack-desc
@@ -9,7 +9,7 @@
haskell-packedstring: haskell-packedstring (Packed Strings for Haskell)
haskell-packedstring:
haskell-packedstring: This library is deprecated and should not be used in new code.
-haskell-packedstring:
+haskell-packedstring:
haskell-packedstring: http://hackage.haskell.org/package/packedstring
haskell-packedstring:
haskell-packedstring: