aboutsummaryrefslogtreecommitdiff
path: root/libraries/haskell-X11/haskell-X11.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:30:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit564772e5f2e34e23fd205faf9e906abc8d1cb5f4 (patch)
treea1f49d6075217d42bfa1a7dc45364ccc902cb282 /libraries/haskell-X11/haskell-X11.SlackBuild
parentb7c63a136fc3fc1fcb6b856a828665cb4ffa884e (diff)
libraries/haskell-X11: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/haskell-X11/haskell-X11.SlackBuild')
-rw-r--r--libraries/haskell-X11/haskell-X11.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-X11/haskell-X11.SlackBuild b/libraries/haskell-X11/haskell-X11.SlackBuild
index d620dd7bccb69..dd72723ba3880 100644
--- a/libraries/haskell-X11/haskell-X11.SlackBuild
+++ b/libraries/haskell-X11/haskell-X11.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=X11
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-X11
VERSION=${VERSION:-1.5.0.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then