summaryrefslogtreecommitdiff
path: root/libraries/haskell-regex-base/haskell-regex-base.SlackBuild
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/haskell-regex-base/haskell-regex-base.SlackBuild
parent69201e250e02be583b649459f7fe5cb56dbd15b4 (diff)
downloadslackbuilds-87dcca93fb133d6801c811587f5636593d63d2ad.tar.gz
libraries/haskell-regex-base: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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