summaryrefslogtreecommitdiffstats
path: root/libraries/haskell-regex-base/haskell-regex-base.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/haskell-regex-base/haskell-regex-base.SlackBuild')
-rw-r--r--libraries/haskell-regex-base/haskell-regex-base.SlackBuild7
1 files changed, 4 insertions, 3 deletions
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