summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:24:52 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit16c1cf7d42b74cfd033e5f9901d822eb0dad3c55 (patch)
tree0b7841daf74849a51f86a4e82ae1af150d98d303
parent87dcca93fb133d6801c811587f5636593d63d2ad (diff)
downloadslackbuilds-16c1cf7d42b74cfd033e5f9901d822eb0dad3c55.tar.gz
libraries/haskell-regex-compat: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-regex-compat/README4
-rw-r--r--libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild7
-rw-r--r--libraries/haskell-regex-compat/haskell-regex-compat.info2
3 files changed, 6 insertions, 7 deletions
diff --git a/libraries/haskell-regex-compat/README b/libraries/haskell-regex-compat/README
index 56e297a83f..2246bedbc7 100644
--- a/libraries/haskell-regex-compat/README
+++ b/libraries/haskell-regex-compat/README
@@ -1,6 +1,4 @@
-haskell-regex-compat (Replaces/Enhances Text.Regex Haskell library)
-
-A module layer over regex-posix to replace Text.Regex.
+A module layer over haskell-regex-posix to replace Text.Regex.
This requires ghc and haskell-regex-posix.
diff --git a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild b/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild
index 2783da2ca0..5e0c3126fb 100644
--- a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild
+++ b/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=regex-compat
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-regex-compat
VERSION=${VERSION:-0.93.1}
-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-regex-compat/haskell-regex-compat.info b/libraries/haskell-regex-compat/haskell-regex-compat.info
index 29a7778c2f..2033a4b239 100644
--- a/libraries/haskell-regex-compat/haskell-regex-compat.info
+++ b/libraries/haskell-regex-compat/haskell-regex-compat.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"