aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:30:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:44 -0600
commit2644019e23c5ea77346f98b6f15993ec48e84635 (patch)
tree75d6fb53f5d3a2cd5db1e4cbdd8e4d638962b6eb
parent2c683bcb6bc1cef152ccc17ee6246e6d775673cc (diff)
libraries/haskell-zip-archive: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-zip-archive/README6
-rw-r--r--libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild7
-rw-r--r--libraries/haskell-zip-archive/haskell-zip-archive.info2
3 files changed, 8 insertions, 7 deletions
diff --git a/libraries/haskell-zip-archive/README b/libraries/haskell-zip-archive/README
index 5f19f9a5f9f95..20bbea1999f17 100644
--- a/libraries/haskell-zip-archive/README
+++ b/libraries/haskell-zip-archive/README
@@ -1,8 +1,8 @@
This is a library for Haskell programs. It provides functions for
-creating, modifying, and extracting files from zip archives.
+creating, modifying, and extracting files from zip archives.
-This requires ghc, haskell-binary, haskell-mtl, haskell-digest,
-haskell-zlib, and haskell-utf8-string.
+This requires ghc, haskell-binary, haskell-transformers, haskell-mtl,
+haskell-digest, haskell-zlib, and haskell-utf8-string.
After uninstalling, run the following command to unregister the package
from the ghc package database: ghc-pkg recache
diff --git a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild b/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
index b0afdf1692ed0..56955f12c9c10 100644
--- a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
+++ b/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
@@ -6,12 +6,13 @@
# Modified by Mikko Värri <vmj@linuxbox.fi>
# Public domain.
-SRCNAM=zip-archive
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-zip-archive
VERSION=${VERSION:-0.1.1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-zip-archive/haskell-zip-archive.info b/libraries/haskell-zip-archive/haskell-zip-archive.info
index 40ff8c9c63ff1..eab4ad52bea80 100644
--- a/libraries/haskell-zip-archive/haskell-zip-archive.info
+++ b/libraries/haskell-zip-archive/haskell-zip-archive.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"