summaryrefslogtreecommitdiff
path: root/libraries/haskell-zlib/haskell-zlib.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:32:25 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:44 -0600
commit17d0f562f9f913b59f2ac0ded964338e2f68224d (patch)
treec500508f9f905c662d44ecd5cadd6707009c5ad4 /libraries/haskell-zlib/haskell-zlib.SlackBuild
parent2644019e23c5ea77346f98b6f15993ec48e84635 (diff)
downloadslackbuilds-17d0f562f9f913b59f2ac0ded964338e2f68224d.tar.gz
libraries/haskell-zlib: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/haskell-zlib/haskell-zlib.SlackBuild')
-rw-r--r--libraries/haskell-zlib/haskell-zlib.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-zlib/haskell-zlib.SlackBuild b/libraries/haskell-zlib/haskell-zlib.SlackBuild
index 0731a9eb76..35a5bc1f97 100644
--- a/libraries/haskell-zlib/haskell-zlib.SlackBuild
+++ b/libraries/haskell-zlib/haskell-zlib.SlackBuild
@@ -6,12 +6,13 @@
# Modified by Mikko Värri <vmj@linuxbox.fi>
# Public domain.
-SRCNAM=zlib
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-zlib
VERSION=${VERSION:-0.5.2.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then