[arch-commits] Commit in haskell-quickcheck/repos (12 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Mar 27 12:31:34 UTC 2014


    Date: Thursday, March 27, 2014 @ 13:31:34
  Author: arodseth
Revision: 108389

archrelease: copy trunk to community-x86_64, community-i686

Added:
  haskell-quickcheck/repos/community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch
    (from rev 108388, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch)
  haskell-quickcheck/repos/community-i686/PKGBUILD
    (from rev 108388, haskell-quickcheck/trunk/PKGBUILD)
  haskell-quickcheck/repos/community-i686/haskell-quickcheck.install
    (from rev 108388, haskell-quickcheck/trunk/haskell-quickcheck.install)
  haskell-quickcheck/repos/community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch
    (from rev 108388, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch)
  haskell-quickcheck/repos/community-x86_64/PKGBUILD
    (from rev 108388, haskell-quickcheck/trunk/PKGBUILD)
  haskell-quickcheck/repos/community-x86_64/haskell-quickcheck.install
    (from rev 108388, haskell-quickcheck/trunk/haskell-quickcheck.install)
Deleted:
  haskell-quickcheck/repos/community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch
  haskell-quickcheck/repos/community-i686/PKGBUILD
  haskell-quickcheck/repos/community-i686/haskell-quickcheck.install
  haskell-quickcheck/repos/community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch
  haskell-quickcheck/repos/community-x86_64/PKGBUILD
  haskell-quickcheck/repos/community-x86_64/haskell-quickcheck.install

----------------------------------------------------------------------------------+
 /0001-update-code-to-support-extensible-exceptions-no-long.patch                 |  100 ++++++++++
 /PKGBUILD                                                                        |  100 ++++++++++
 /haskell-quickcheck.install                                                      |   36 +++
 community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch   |   50 -----
 community-i686/PKGBUILD                                                          |   50 -----
 community-i686/haskell-quickcheck.install                                        |   18 -
 community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch |   50 -----
 community-x86_64/PKGBUILD                                                        |   50 -----
 community-x86_64/haskell-quickcheck.install                                      |   18 -
 9 files changed, 236 insertions(+), 236 deletions(-)

Deleted: community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch
===================================================================
--- community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,50 +0,0 @@
-From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc at gmail.com>
-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-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 108388, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch)
===================================================================
--- community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch	                        (rev 0)
+++ community-i686/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:34 UTC (rev 108389)
@@ -0,0 +1,50 @@
+From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001
+From: Thomas Dziedzic <gostrc at gmail.com>
+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
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-i686/PKGBUILD	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=QuickCheck
-pkgname=haskell-quickcheck
-pkgver=2.6
-pkgrel=3
-pkgdesc='Automatic testing of Haskell programs'
-url='http://hackage.haskell.org/package/QuickCheck'
-license=('custom:BSD3')
-arch=('x86_64' 'i686')
-depends=('ghc' 'haskell-random')
-source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-install="$pkgname.install"
-options=('staticlibs')
-sha256sums=('8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d')
-
-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 Setup register   --gen-script
-  runhaskell Setup unregister --gen-script
-  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-  cd "$_hkgname-$pkgver"
-
-  install -Dm744 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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: haskell-quickcheck/repos/community-i686/PKGBUILD (from rev 108388, haskell-quickcheck/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-27 12:31:34 UTC (rev 108389)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=QuickCheck
+pkgname=haskell-quickcheck
+pkgver=2.7.3
+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")
+install="$pkgname.install"
+options=('staticlibs')
+sha256sums=('d00321f0f4237add9d5ffd626d0fefba2e110aaa67725279f304553116f8d7a4')
+
+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 Setup register   --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd "$_hkgname-$pkgver"
+
+  install -Dm744 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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/haskell-quickcheck.install
===================================================================
--- community-i686/haskell-quickcheck.install	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-i686/haskell-quickcheck.install	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,18 +0,0 @@
-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/community-i686/haskell-quickcheck.install (from rev 108388, haskell-quickcheck/trunk/haskell-quickcheck.install)
===================================================================
--- community-i686/haskell-quickcheck.install	                        (rev 0)
+++ community-i686/haskell-quickcheck.install	2014-03-27 12:31:34 UTC (rev 108389)
@@ -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)
+}

Deleted: community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch
===================================================================
--- community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,50 +0,0 @@
-From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc at gmail.com>
-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-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 108388, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch)
===================================================================
--- community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch	                        (rev 0)
+++ community-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch	2014-03-27 12:31:34 UTC (rev 108389)
@@ -0,0 +1,50 @@
+From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001
+From: Thomas Dziedzic <gostrc at gmail.com>
+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
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-x86_64/PKGBUILD	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=QuickCheck
-pkgname=haskell-quickcheck
-pkgver=2.6
-pkgrel=3
-pkgdesc='Automatic testing of Haskell programs'
-url='http://hackage.haskell.org/package/QuickCheck'
-license=('custom:BSD3')
-arch=('x86_64' 'i686')
-depends=('ghc' 'haskell-random')
-source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-install="$pkgname.install"
-options=('staticlibs')
-sha256sums=('8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d')
-
-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 Setup register   --gen-script
-  runhaskell Setup unregister --gen-script
-  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-  cd "$_hkgname-$pkgver"
-
-  install -Dm744 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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: haskell-quickcheck/repos/community-x86_64/PKGBUILD (from rev 108388, haskell-quickcheck/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-27 12:31:34 UTC (rev 108389)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=QuickCheck
+pkgname=haskell-quickcheck
+pkgver=2.7.3
+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")
+install="$pkgname.install"
+options=('staticlibs')
+sha256sums=('d00321f0f4237add9d5ffd626d0fefba2e110aaa67725279f304553116f8d7a4')
+
+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 Setup register   --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd "$_hkgname-$pkgver"
+
+  install -Dm744 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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/haskell-quickcheck.install
===================================================================
--- community-x86_64/haskell-quickcheck.install	2014-03-27 12:31:22 UTC (rev 108388)
+++ community-x86_64/haskell-quickcheck.install	2014-03-27 12:31:34 UTC (rev 108389)
@@ -1,18 +0,0 @@
-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/community-x86_64/haskell-quickcheck.install (from rev 108388, haskell-quickcheck/trunk/haskell-quickcheck.install)
===================================================================
--- community-x86_64/haskell-quickcheck.install	                        (rev 0)
+++ community-x86_64/haskell-quickcheck.install	2014-03-27 12:31:34 UTC (rev 108389)
@@ -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)
+}




More information about the arch-commits mailing list