summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:23:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commit69201e250e02be583b649459f7fe5cb56dbd15b4 (patch)
treee4c6f6901a73332635da8e40f25bdfea2774b13f
parent239b8b73d3576120b8685c4579a616e7c6c46544 (diff)
downloadslackbuilds-69201e250e02be583b649459f7fe5cb56dbd15b4.tar.gz
libraries/haskell-QuickCheck: Updated for version 2.4.0.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-QuickCheck/README4
-rw-r--r--libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild7
-rw-r--r--libraries/haskell-QuickCheck/haskell-QuickCheck.info8
3 files changed, 9 insertions, 10 deletions
diff --git a/libraries/haskell-QuickCheck/README b/libraries/haskell-QuickCheck/README
index 2fe1a09df5..fc75575469 100644
--- a/libraries/haskell-QuickCheck/README
+++ b/libraries/haskell-QuickCheck/README
@@ -1,12 +1,10 @@
-haskell-QuickCheck (Automatic testing of Haskell programs)
-
QuickCheck is a library for random testing of program properties.
The programmer provides a specification of the program, in the form
of properties which functions should satisfy, and QuickCheck then
tests that the properties hold in a large number of randomly
generated cases.
-This requires ghc and haskell-mtl.
+This requires ghc, haskell-transformers, and haskell-mtl.
After uninstalling, run this command to unregister the package from the ghc
package database: ghc-pkg recache
diff --git a/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild b/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
index fcb3eb057e..18524141e0 100644
--- a/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
+++ b/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=QuickCheck
-PRGNAM=haskell-$SRCNAM
-VERSION=${VERSION:-2.3.0.2}
+PRGNAM=haskell-QuickCheck
+VERSION=${VERSION:-2.4.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-QuickCheck/haskell-QuickCheck.info b/libraries/haskell-QuickCheck/haskell-QuickCheck.info
index ad23f9bacc..91ab2762c0 100644
--- a/libraries/haskell-QuickCheck/haskell-QuickCheck.info
+++ b/libraries/haskell-QuickCheck/haskell-QuickCheck.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-QuickCheck"
-VERSION="2.3.0.2"
+VERSION="2.4.0.1"
HOMEPAGE="http://hackage.haskell.org/package/QuickCheck"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/QuickCheck/2.3.0.2/QuickCheck-2.3.0.2.tar.gz"
-MD5SUM="547d0d97a2aaabd965adc13c08f1c436"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/QuickCheck/2.4.0.1/QuickCheck-2.4.0.1.tar.gz"
+MD5SUM="e8c86e95fd1fa4c58fc8e53e2853db5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="rworkman"
+APPROVED="dsomero"