summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:26:34 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit6181e4f606a2d98d18a994d84c6ddbaaff296c6e (patch)
treef0430d7e1ad2f40398a2f0e6f46de875c920524f /libraries
parent16c1cf7d42b74cfd033e5f9901d822eb0dad3c55 (diff)
downloadslackbuilds-6181e4f606a2d98d18a994d84c6ddbaaff296c6e.tar.gz
libraries/haskell-regex-posix: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-regex-posix/README4
-rw-r--r--libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild7
2 files changed, 5 insertions, 6 deletions
diff --git a/libraries/haskell-regex-posix/README b/libraries/haskell-regex-posix/README
index 1430dcd73f..f305a9cb43 100644
--- a/libraries/haskell-regex-posix/README
+++ b/libraries/haskell-regex-posix/README
@@ -1,6 +1,4 @@
-haskell-regex-posix (Replaces/Enhances Text.Regex Haskell library)
-
-The posix regex backend for regex-base.
+The posix regex backend for haskell-regex-base.
This requires ghc and haskell-regex-base.
diff --git a/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild b/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild
index c7a48a2899..9289670bfa 100644
--- a/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild
+++ b/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=regex-posix
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-regex-posix
VERSION=${VERSION:-0.94.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then