summaryrefslogtreecommitdiff
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
parent2644019e23c5ea77346f98b6f15993ec48e84635 (diff)
downloadslackbuilds-17d0f562f9f913b59f2ac0ded964338e2f68224d.tar.gz
libraries/haskell-zlib: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-zlib/haskell-zlib.SlackBuild7
-rw-r--r--libraries/haskell-zlib/haskell-zlib.info2
2 files changed, 5 insertions, 4 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
diff --git a/libraries/haskell-zlib/haskell-zlib.info b/libraries/haskell-zlib/haskell-zlib.info
index 11cc4b3bf1..0f4a9e24cc 100644
--- a/libraries/haskell-zlib/haskell-zlib.info
+++ b/libraries/haskell-zlib/haskell-zlib.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"