[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Friday, October 6, 2017 @ 15:11:01 Author: felixonmars Revision: 261934 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 261933, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 261933, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 261933, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 261933, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 46 + community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 46 + 4 files changed, 192 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 261933, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-10-06 15:11:01 UTC (rev 261934) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 261933, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-06 15:11:01 UTC (rev 261934) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.1 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Tuesday, August 15, 2017 @ 10:21:13 Author: felixonmars Revision: 250861 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 250860, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 250860, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 250860, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 250860, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 49 + community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 49 + 4 files changed, 198 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 250860, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-08-15 10:21:13 UTC (rev 250861) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 250860, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-15 10:21:13 UTC (rev 250861) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.0.1 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('513e55190f3ecba5d38c465c517ff7b8aafea0e1a307a81736be7ea841a326547db4348d73c196e6413f57961809a51b2ce8e44819287836b8a90007cd239fdc') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynl
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Wednesday, June 28, 2017 @ 08:01:25 Author: felixonmars Revision: 241322 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 241321, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 241321, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 241321, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 241321, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 + community-staging-i686/PKGBUILD | 51 ++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 + community-staging-x86_64/PKGBUILD | 51 ++ 4 files changed, 202 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 241321, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-06-28 08:01:25 UTC (rev 241322) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 241321, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-28 08:01:25 UTC (rev 241322) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.0.1 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('513e55190f3ecba5d38c465c517ff7b8aafea0e1a307a81736be7ea841a326547db4348d73c196e6413f57961809a51b2ce8e44819287836b8a90007cd239fdc') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Thursday, June 15, 2017 @ 06:38:21 Author: felixonmars Revision: 237092 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 237091, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 237091, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 237091, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 237091, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 + community-staging-i686/PKGBUILD | 51 ++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 + community-staging-x86_64/PKGBUILD | 51 ++ 4 files changed, 202 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 237091, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-06-15 06:38:21 UTC (rev 237092) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 237091, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-15 06:38:21 UTC (rev 237092) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.9.2 +pkgrel=3 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('155c1656f583bc797587846ee1959143d2b1b9c88fbcb9d3f510f58d8fb93685') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + ru
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Thursday, April 6, 2017 @ 15:18:27 Author: felixonmars Revision: 221054 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 221053, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 221053, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 221053, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 221053, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 43 4 files changed, 186 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 221053, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-04-06 15:18:27 UTC (rev 221054) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 221053, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-06 15:18:27 UTC (rev 221054) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.9.2 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('155c1656f583bc797587846ee1959143d2b1b9c88fbcb9d3f510f58d8fb93685') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell +runhaske
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Friday, September 16, 2016 @ 07:45:26 Author: felixonmars Revision: 189480 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 189479, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 189479, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 189479, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 189479, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 43 4 files changed, 186 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 189479, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2016-09-16 07:45:26 UTC (rev 189480) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 189479, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-09-16 07:45:26 UTC (rev 189480) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.9.2 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='http://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('155c1656f583bc797587846ee1959143d2b1b9c88fbcb9d3f510f58d8fb93685') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell +runhask
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Wednesday, July 20, 2016 @ 02:35:20 Author: felixonmars Revision: 183336 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 183335, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 183335, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 183335, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 183335, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 43 4 files changed, 186 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 183335, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2016-07-20 02:35:20 UTC (rev 183336) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 183335, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-07-20 02:35:20 UTC (rev 183336) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.9.1 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='http://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('f8769cbef895a67f9bd1ac554faa577e6c1fb41e271425880a759009e454d05f') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell +runhaskel
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Wednesday, May 25, 2016 @ 11:40:14 Author: fyan Revision: 176767 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: haskell-quickcheck/repos/community-staging-i686/ haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 176766, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 176766, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 176766, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 176766, haskell-quickcheck/trunk/PKGBUILD) --+ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-i686/PKGBUILD | 48 + community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ community-staging-x86_64/PKGBUILD | 48 + 4 files changed, 196 insertions(+) Copied: haskell-quickcheck/repos/community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 176766, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch 2016-05-25 09:40:14 UTC (rev 176767) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-i686/PKGBUILD (from rev 176766, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-25 09:40:14 UTC (rev 176767) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.8.2 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='http://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc' 'haskell-random' 'haskell-tf-random') +source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('98c64de1e2dbf801c54dcdcb8ddc33b3569e0da38b39d711ee6ac505769926aa') + +build() { + cd "$_hkgname-$pkgver" + + runhaskell Setup configure -O -p \ +--enable-split-objs \ +--enable-shared \ +--prefix=/usr \ +--docdir="/usr/share/doc/$pkgname" \ +--libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell
[arch-commits] Commit in haskell-quickcheck/repos (6 files)
Date: Sunday, February 26, 2012 @ 12:04:38 Author: tdziedzic Revision: 151483 archrelease: copy trunk to staging-i686, staging-x86_64 Added: haskell-quickcheck/repos/staging-i686/ haskell-quickcheck/repos/staging-i686/PKGBUILD (from rev 151482, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/staging-i686/haskell-quickcheck.install (from rev 151482, haskell-quickcheck/trunk/haskell-quickcheck.install) haskell-quickcheck/repos/staging-x86_64/ haskell-quickcheck/repos/staging-x86_64/PKGBUILD (from rev 151482, haskell-quickcheck/trunk/PKGBUILD) haskell-quickcheck/repos/staging-x86_64/haskell-quickcheck.install (from rev 151482, haskell-quickcheck/trunk/haskell-quickcheck.install) ---+ staging-i686/PKGBUILD | 38 staging-i686/haskell-quickcheck.install | 18 + staging-x86_64/PKGBUILD | 38 staging-x86_64/haskell-quickcheck.install | 18 + 4 files changed, 112 insertions(+) Copied: haskell-quickcheck/repos/staging-i686/PKGBUILD (from rev 151482, haskell-quickcheck/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-02-26 17:04:38 UTC (rev 151483) @@ -0,0 +1,38 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.4.2 +pkgrel=1 +pkgdesc="Automatic testing of Haskell programs" +url="http://hackage.haskell.org/package/QuickCheck"; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.4.1-2' 'haskell-mtl=2.0.1.0-4' 'haskell-random=1.0.1.1-1' 'sh') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz) +install=${pkgname}.install +md5sums=('9e22f9741cbc7d9cd8d52d3928e57b67') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} +runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \ + --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd ${srcdir}/${_hkgname}-${pkgver} +install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh +install-m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh +install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries +ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} +runhaskell Setup copy --destdir=${pkgdir} +install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} Copied: haskell-quickcheck/repos/staging-i686/haskell-quickcheck.install (from rev 151482, haskell-quickcheck/trunk/haskell-quickcheck.install) === --- staging-i686/haskell-quickcheck.install (rev 0) +++ staging-i686/haskell-quickcheck.install 2012-02-26 17:04:38 UTC (rev 151483) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-quickcheck +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Copied: haskell-quickcheck/repos/staging-x86_64/PKGBUILD (from rev 151482, haskell-quickcheck/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-02-26 17:04:38 UTC (rev 151483) @@ -0,0 +1,38 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.4.2 +pkgrel=1 +pkgdesc="Automatic testing of Haskell programs" +url="http://hackage.haskell.org/package/QuickCheck"; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.4.1-2' 'haskell-mtl=2.0.1.0-4' 'haskell-random=1.0.1.1-1' 'sh') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz) +install=${pkgname}.install +md5sums=('9e22f9741cbc7d9cd8d52d3928e57b67') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} +runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \ + --docdir=/usr/share/doc/${pkgname}