aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0731a9eb76c68..35a5bc1f97c07 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 11cc4b3bf1a13..0f4a9e24ccc01 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"