[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)

Felix Yan felixonmars at archlinux.org
Sun Nov 26 04:49:28 UTC 2017


    Date: Sunday, November 26, 2017 @ 04:49:26
  Author: felixonmars
Revision: 268500

upgpkg: ghc 8.2.2-1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc-register.hook
  ghc/trunk/ghc-unregister.hook

---------------------+
 PKGBUILD            |   33 +++++++++++++++++----------------
 ghc-register.hook   |    2 +-
 ghc-unregister.hook |    2 +-
 3 files changed, 19 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-26 03:44:36 UTC (rev 268499)
+++ PKGBUILD	2017-11-26 04:49:26 UTC (rev 268500)
@@ -12,8 +12,8 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.2.1
-pkgrel=3
+pkgver=8.2.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='http://www.haskell.org/ghc/'
@@ -23,10 +23,10 @@
 source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz"
         ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-md5sums=('8942b6fb393984aeb8304d09bc326851'
-         '4966d798a2868b289022aea8b655bf17'
-         '700bcd96afd059d668e50b51c19650d5'
-         '2355771881c91cb46e6249a81352aea2')
+sha512sums=('6549416f470b599973d409fa45f59c25b07e6a94798cef1a19ad432547dc225338cf4dbc4a4793114b4a417798a3b59b122b92b020251074405c5302b7ffe799'
+            'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
+            'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
+            'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
@@ -57,7 +57,7 @@
 
   cd ghc-$pkgver
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   mv "$pkgdir"/usr/lib/ghc-$pkgver/package.conf.d "$srcdir"/static-package.conf.d
   find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) -type f -delete
@@ -75,7 +75,7 @@
   depends=('ghc-libs')
 
   cd ghc-$pkgver
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
   find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) -delete
@@ -97,7 +97,7 @@
   install='ghc.install'
   depends=('gcc' 'gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.2.0'
-            'haskell-base=4.10.0.0'
+            'haskell-base=4.10.1.0'
             'haskell-binary=0.8.5.1'
             'haskell-bytestring=0.10.8.2'
             'haskell-containers=0.5.10.2'
@@ -104,11 +104,10 @@
             'haskell-deepseq=1.4.3.0'
             'haskell-directory=1.3.0.2'
             'haskell-filepath=1.4.1.2'
-            'haskell-ghc-boot=8.2.1'
-            'haskell-ghc-boot-th=8.2.1'
+            'haskell-ghc-boot=8.2.2'
+            'haskell-ghc-boot-th=8.2.2'
             'haskell-ghc-compact=0.1.0.0'
-            'haskell-ghci=8.2.1'
-            'haskell-ghc-prim=0.5.1.0'
+            'haskell-ghc-prim=0.5.1.1'
             'haskell-haskeline=0.7.4.0'
             'haskell-hoopl=3.10.2.2'
             'haskell-hpc=0.6.0.3'
@@ -121,7 +120,7 @@
             'haskell-transformers=0.5.2.0'
             'haskell-unix=2.7.2.2'
             'haskell-xhtml=3000.2.2'
-            'haskell-cabal=2.0.0.2')
+            'haskell-cabal=2.0.1.0')
   replaces=('haskell-array'
             'haskell-base'
             'haskell-binary'
@@ -133,7 +132,6 @@
             'haskell-ghc-boot'
             'haskell-ghc-boot-th'
             'haskell-ghc-compact'
-            'haskell-ghci'
             'haskell-ghc-prim'
             'haskell-haskeline'
             'haskell-hoopl'
@@ -149,9 +147,12 @@
             'haskell-xhtml'
             'haskell-cabal')
 
+  provides+=("haskell-ghci=$pkgver")
+  conflicts+=('haskell-ghci')
+
   cd ghc-$pkgver
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
   find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) -delete

Modified: ghc-register.hook
===================================================================
--- ghc-register.hook	2017-11-26 03:44:36 UTC (rev 268499)
+++ ghc-register.hook	2017-11-26 04:49:26 UTC (rev 268500)
@@ -7,6 +7,6 @@
 [Action]
 Description = Registering Haskell modules...
 When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 >/dev/null ; done'
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" >>/tmp/haskell-register.log 2>&1 ; done'
 Depends = ghc-libs
 NeedsTargets

Modified: ghc-unregister.hook
===================================================================
--- ghc-unregister.hook	2017-11-26 03:44:36 UTC (rev 268499)
+++ ghc-unregister.hook	2017-11-26 04:49:26 UTC (rev 268500)
@@ -7,6 +7,6 @@
 [Action]
 Description = Unregistering Haskell modules...
 When = PreTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 >/dev/null ; done'
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" >>/tmp/haskell-register.log 2>&1 ; done'
 Depends = ghc-libs
 NeedsTargets


More information about the arch-commits mailing list