aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 56e297a83f755..2246bedbc7245 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 2783da2ca03e6..5e0c3126fb145 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 29a7778c2f40d..2033a4b239a66 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"