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