summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:24:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commit87dcca93fb133d6801c811587f5636593d63d2ad (patch)
tree124df40b9e1ba9291f9e97c6ba72cc59a0500f19 /libraries
parent69201e250e02be583b649459f7fe5cb56dbd15b4 (diff)
downloadslackbuilds-87dcca93fb133d6801c811587f5636593d63d2ad.tar.gz
libraries/haskell-regex-base: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-regex-base/README6
-rw-r--r--libraries/haskell-regex-base/haskell-regex-base.SlackBuild7
-rw-r--r--libraries/haskell-regex-base/haskell-regex-base.info2
3 files changed, 7 insertions, 8 deletions
diff --git a/libraries/haskell-regex-base/README b/libraries/haskell-regex-base/README
index 5e947f38f9..b5cd3a4dfb 100644
--- a/libraries/haskell-regex-base/README
+++ b/libraries/haskell-regex-base/README
@@ -1,8 +1,6 @@
-haskell-regex-base (Replaces/Enhances Text.Regex Haskell library)
+Haskell interface API for regex-posix, pcre, parsec, tdfa, dfa.
-Interface API for regex-posix, pcre, parsec, tdfa, dfa.
-
-This requires ghc and haskell-mtl.
+This requires ghc, haskell-transformers, and haskell-mtl.
After uninstalling, run this command to unregister the package from the ghc
package database: ghc-pkg recache
diff --git a/libraries/haskell-regex-base/haskell-regex-base.SlackBuild b/libraries/haskell-regex-base/haskell-regex-base.SlackBuild
index 9829946a41..af06029550 100644
--- a/libraries/haskell-regex-base/haskell-regex-base.SlackBuild
+++ b/libraries/haskell-regex-base/haskell-regex-base.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=regex-base
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-regex-base
VERSION=${VERSION:-0.93.2}
-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-base/haskell-regex-base.info b/libraries/haskell-regex-base/haskell-regex-base.info
index 9a54671348..42578be82e 100644
--- a/libraries/haskell-regex-base/haskell-regex-base.info
+++ b/libraries/haskell-regex-base/haskell-regex-base.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"