[arch-commits] Commit in ghc/repos (10 files)
Date: Wednesday, April 9, 2014 @ 04:56:42 Author: td123 Revision: 209924 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ghc/repos/staging-i686/ ghc/repos/staging-i686/PKGBUILD (from rev 209923, ghc/trunk/PKGBUILD) ghc/repos/staging-i686/build.mk (from rev 209923, ghc/trunk/build.mk) ghc/repos/staging-i686/ghc.install (from rev 209923, ghc/trunk/ghc.install) ghc/repos/staging-i686/print-provides-replaces.sh (from rev 209923, ghc/trunk/print-provides-replaces.sh) ghc/repos/staging-x86_64/ ghc/repos/staging-x86_64/PKGBUILD (from rev 209923, ghc/trunk/PKGBUILD) ghc/repos/staging-x86_64/build.mk (from rev 209923, ghc/trunk/build.mk) ghc/repos/staging-x86_64/ghc.install (from rev 209923, ghc/trunk/ghc.install) ghc/repos/staging-x86_64/print-provides-replaces.sh (from rev 209923, ghc/trunk/print-provides-replaces.sh) ---+ staging-i686/PKGBUILD | 140 +++ staging-i686/build.mk | 200 staging-i686/ghc.install | 10 + staging-i686/print-provides-replaces.sh | 38 + staging-x86_64/PKGBUILD | 140 +++ staging-x86_64/build.mk | 200 staging-x86_64/ghc.install| 10 + staging-x86_64/print-provides-replaces.sh | 38 + 8 files changed, 776 insertions(+) Copied: ghc/repos/staging-i686/PKGBUILD (from rev 209923, ghc/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-04-09 02:56:42 UTC (rev 209924) @@ -0,0 +1,140 @@ +# $Id$ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. + +# use the following command to print out packages that need to get rebuilt +# grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u + +pkgname=ghc +pkgver=7.8.1 +pkgrel=1 +pkgdesc='The Glasgow Haskell Compiler' +arch=('i686' 'x86_64') +url='http://www.haskell.org/ghc/' +license=('custom') +# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496 +depends=('perl' 'gmp' 'gcc') # 'libffi') TODO enable libffi the next time we build ghc +makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl') +checkdepends=('python2') +install='ghc.install' +options=('staticlibs') +provides=('haskell-array=0.5.0.0' + 'haskell-base=4.7.0.0' + 'haskell-binary=0.7.1.0' + 'haskell-bin-package-db=0.0.0.0' + 'haskell-bytestring=0.10.4.0' + 'haskell-containers=0.5.5.1' + 'haskell-deepseq=1.3.0.2' + 'haskell-directory=1.2.1.0' + 'haskell-filepath=1.3.0.2' + 'haskell-ghc-prim=0.3.1.0' + 'haskell-haskeline=0.7.1.2' + 'haskell-haskell2010=1.1.2.0' + 'haskell-haskell98=2.0.0.3' + 'haskell-hoopl=3.10.0.1' + 'haskell-hpc=0.6.0.1' + 'haskell-integer-gmp=0.5.1.0' + 'haskell-old-locale=1.0.0.6' + 'haskell-old-time=1.1.0.2' + 'haskell-pretty=1.1.1.1' + 'haskell-process=1.2.0.0' + 'haskell-template-haskell=2.9.0.0' + 'haskell-terminfo=0.4.0.0' + 'haskell-time=1.4.2' + 'haskell-transformers=0.3.0.0' + 'haskell-unix=2.7.0.1' + 'haskell-xhtml=3000.2.1' + 'haskell-cabal=1.18.1.3' + ) +replaces=('haskell-array0.5.0.0' + 'haskell-base4.7.0.0' + 'haskell-binary0.7.1.0' + 'haskell-bin-package-db0.0.0.0' + 'haskell-bytestring0.10.4.0' + 'haskell-containers0.5.5.1' + 'haskell-deepseq1.3.0.2' + 'haskell-directory1.2.1.0' + 'haskell-filepath1.3.0.2' + 'haskell-ghc-prim0.3.1.0' + 'haskell-haskeline0.7.1.2' + 'haskell-haskell20101.1.2.0' + 'haskell-haskell982.0.0.3' + 'haskell-hoopl3.10.0.1' + 'haskell-hpc0.6.0.1' + 'haskell-integer-gmp0.5.1.0' + 'haskell-old-locale1.0.0.6' + 'haskell-old-time1.1.0.2' + 'haskell-pretty1.1.1.1' + 'haskell-process1.2.0.0' + 'haskell-template-haskell2.9.0.0' + 'haskell-terminfo0.4.0.0' + 'haskell-time1.4.2' + 'haskell-transformers0.3.0.0' + 'haskell-unix2.7.0.1' + 'haskell-xhtml3000.2.1' + 'haskell-cabal1.18.1.3' + ) +source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz; + http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz; +'build.mk')
[arch-commits] Commit in ghc/repos (10 files)
Date: Sunday, April 21, 2013 @ 21:09:12 Author: td123 Revision: 183312 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ghc/repos/staging-i686/ ghc/repos/staging-i686/PKGBUILD (from rev 183311, ghc/trunk/PKGBUILD) ghc/repos/staging-i686/build.mk (from rev 183311, ghc/trunk/build.mk) ghc/repos/staging-i686/ghc.install (from rev 183311, ghc/trunk/ghc.install) ghc/repos/staging-i686/print-provides-replaces.sh (from rev 183311, ghc/trunk/print-provides-replaces.sh) ghc/repos/staging-x86_64/ ghc/repos/staging-x86_64/PKGBUILD (from rev 183311, ghc/trunk/PKGBUILD) ghc/repos/staging-x86_64/build.mk (from rev 183311, ghc/trunk/build.mk) ghc/repos/staging-x86_64/ghc.install (from rev 183311, ghc/trunk/ghc.install) ghc/repos/staging-x86_64/print-provides-replaces.sh (from rev 183311, ghc/trunk/print-provides-replaces.sh) ---+ staging-i686/PKGBUILD | 131 ++ staging-i686/build.mk | 200 staging-i686/ghc.install | 10 + staging-i686/print-provides-replaces.sh | 38 + staging-x86_64/PKGBUILD | 131 ++ staging-x86_64/build.mk | 200 staging-x86_64/ghc.install| 10 + staging-x86_64/print-provides-replaces.sh | 38 + 8 files changed, 758 insertions(+) Copied: ghc/repos/staging-i686/PKGBUILD (from rev 183311, ghc/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-04-21 19:09:12 UTC (rev 183312) @@ -0,0 +1,131 @@ +# $Id$ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. + +pkgname=ghc +pkgver=7.6.3 +pkgrel=1 +pkgdesc='The Glasgow Haskell Compiler' +arch=('i686' 'x86_64') +url='http://www.haskell.org/ghc/' +license=('custom') +# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496 +depends=('perl' 'gmp=5.0' 'gcc') # 'libffi') +makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl') +checkdepends=('python2') +install='ghc.install' +# keep this otherwise a lot of tests will show as unexpected failures... need to investigate why using -jn for n 1 does this... +#options=('!makeflags') +# missing rtl? +provides=('haskell-array=0.4.0.1' + 'haskell-base=4.6.0.1' + 'haskell-binary=0.5.1.1' + 'haskell-bin-package-db=0.0.0.0' + 'haskell-bytestring=0.10.0.2' + 'haskell-containers=0.5.0.0' + 'haskell-deepseq=1.3.0.1' + 'haskell-directory=1.2.0.1' + 'haskell-filepath=1.3.0.1' + 'haskell-ghc-prim=0.3.0.0' + 'haskell-haskell2010=1.1.1.0' + 'haskell-haskell98=2.0.0.2' + 'haskell-hoopl=3.9.0.0' + 'haskell-hpc=0.6.0.0' + 'haskell-integer-gmp=0.5.0.0' + 'haskell-old-locale=1.0.0.5' + 'haskell-old-time=1.1.0.1' + 'haskell-pretty=1.1.1.0' + 'haskell-process=1.1.0.2' + 'haskell-template-haskell=2.8.0.0' + 'haskell-time=1.4.0.1' + 'haskell-unix=2.6.0.1' + 'haskell-cabal=1.16.0' + ) +replaces=('haskell-array0.4.0.1' + 'haskell-base4.6.0.1' + 'haskell-binary0.5.1.1' + 'haskell-bin-package-db0.0.0.0' + 'haskell-bytestring0.10.0.2' + 'haskell-containers0.5.0.0' + 'haskell-deepseq1.3.0.1' + 'haskell-directory1.2.0.1' + 'haskell-filepath1.3.0.1' + 'haskell-ghc-prim0.3.0.0' + 'haskell-haskell20101.1.1.0' + 'haskell-haskell982.0.0.2' + 'haskell-hoopl3.9.0.0' + 'haskell-hpc0.6.0.0' + 'haskell-integer-gmp0.5.0.0' + 'haskell-old-locale1.0.0.5' + 'haskell-old-time1.1.0.1' + 'haskell-pretty1.1.1.0' + 'haskell-process1.1.0.2' + 'haskell-template-haskell2.8.0.0' + 'haskell-time1.4.0.1' + 'haskell-unix2.6.0.1' + 'haskell-cabal1.16.0' + ) +source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2; + http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2; +'build.mk') +md5sums=('986d1f90ca30d60f7b2820d75c6b8ea7' + '66aa6177a31cc4b9d7eeb55cb1514918' + 'c367ef26300648ee9b8aca3dee5c9669') + +build() { + cd ghc-${pkgver} + + cp ${srcdir}/build.mk mk/build.mk + + ./configure \ +--prefix=/usr + + make +} + +check() { + # keep this otherwise a lot of tests will show as unexpected failures...
[arch-commits] Commit in ghc/repos (10 files)
Date: Thursday, January 31, 2013 @ 07:54:38 Author: td123 Revision: 176364 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ghc/repos/staging-i686/ ghc/repos/staging-i686/PKGBUILD (from rev 176363, ghc/trunk/PKGBUILD) ghc/repos/staging-i686/build.mk (from rev 176363, ghc/trunk/build.mk) ghc/repos/staging-i686/ghc.install (from rev 176363, ghc/trunk/ghc.install) ghc/repos/staging-i686/print-provides-replaces.sh (from rev 176363, ghc/trunk/print-provides-replaces.sh) ghc/repos/staging-x86_64/ ghc/repos/staging-x86_64/PKGBUILD (from rev 176363, ghc/trunk/PKGBUILD) ghc/repos/staging-x86_64/build.mk (from rev 176363, ghc/trunk/build.mk) ghc/repos/staging-x86_64/ghc.install (from rev 176363, ghc/trunk/ghc.install) ghc/repos/staging-x86_64/print-provides-replaces.sh (from rev 176363, ghc/trunk/print-provides-replaces.sh) ---+ staging-i686/PKGBUILD | 131 ++ staging-i686/build.mk | 200 staging-i686/ghc.install | 10 + staging-i686/print-provides-replaces.sh | 38 + staging-x86_64/PKGBUILD | 131 ++ staging-x86_64/build.mk | 200 staging-x86_64/ghc.install| 10 + staging-x86_64/print-provides-replaces.sh | 38 + 8 files changed, 758 insertions(+) Copied: ghc/repos/staging-i686/PKGBUILD (from rev 176363, ghc/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-01-31 06:54:38 UTC (rev 176364) @@ -0,0 +1,131 @@ +# $Id$ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. + +pkgname=ghc +pkgver=7.6.2 +pkgrel=1 +pkgdesc='The Glasgow Haskell Compiler' +arch=('i686' 'x86_64') +url='http://www.haskell.org/ghc/' +license=('custom') +# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496 +depends=('perl' 'gmp=5.0' 'gcc') # 'libffi') +makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl') +checkdepends=('python2') +install='ghc.install' +# keep this otherwise a lot of tests will show as unexpected failures... need to investigate why using -jn for n 1 does this... +#options=('!makeflags') +# missing rtl? +provides=('haskell-array=0.4.0.1' + 'haskell-base=4.6.0.1' + 'haskell-binary=0.5.1.1' + 'haskell-bin-package-db=0.0.0.0' + 'haskell-bytestring=0.10.0.2' + 'haskell-containers=0.5.0.0' + 'haskell-deepseq=1.3.0.1' + 'haskell-directory=1.2.0.1' + 'haskell-filepath=1.3.0.1' + 'haskell-ghc-prim=0.3.0.0' + 'haskell-haskell2010=1.1.1.0' + 'haskell-haskell98=2.0.0.2' + 'haskell-hoopl=3.9.0.0' + 'haskell-hpc=0.6.0.0' + 'haskell-integer-gmp=0.5.0.0' + 'haskell-old-locale=1.0.0.5' + 'haskell-old-time=1.1.0.1' + 'haskell-pretty=1.1.1.0' + 'haskell-process=1.1.0.2' + 'haskell-template-haskell=2.8.0.0' + 'haskell-time=1.4.0.1' + 'haskell-unix=2.6.0.1' + 'haskell-cabal=1.16.0' + ) +replaces=('haskell-array0.4.0.1' + 'haskell-base4.6.0.1' + 'haskell-binary0.5.1.1' + 'haskell-bin-package-db0.0.0.0' + 'haskell-bytestring0.10.0.2' + 'haskell-containers0.5.0.0' + 'haskell-deepseq1.3.0.1' + 'haskell-directory1.2.0.1' + 'haskell-filepath1.3.0.1' + 'haskell-ghc-prim0.3.0.0' + 'haskell-haskell20101.1.1.0' + 'haskell-haskell982.0.0.2' + 'haskell-hoopl3.9.0.0' + 'haskell-hpc0.6.0.0' + 'haskell-integer-gmp0.5.0.0' + 'haskell-old-locale1.0.0.5' + 'haskell-old-time1.1.0.1' + 'haskell-pretty1.1.1.0' + 'haskell-process1.1.0.2' + 'haskell-template-haskell2.8.0.0' + 'haskell-time1.4.0.1' + 'haskell-unix2.6.0.1' + 'haskell-cabal1.16.0' + ) +source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2; + http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2; +'build.mk') +md5sums=('2585d83e7d8daece2fe0949c6bc42a2c' + '8454aaeb4e226ddb66c237c15874a47f' + 'c367ef26300648ee9b8aca3dee5c9669') + +build() { + cd ghc-${pkgver} + + cp ${srcdir}/build.mk mk/build.mk + + ./configure \ +--prefix=/usr + + make +} + +check() { + # keep this otherwise a lot of tests will show as unexpected
[arch-commits] Commit in ghc/repos (10 files)
Date: Friday, September 7, 2012 @ 00:46:15 Author: tdziedzic Revision: 166371 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ghc/repos/staging-i686/ ghc/repos/staging-i686/PKGBUILD (from rev 166370, ghc/trunk/PKGBUILD) ghc/repos/staging-i686/build.mk (from rev 166370, ghc/trunk/build.mk) ghc/repos/staging-i686/ghc.install (from rev 166370, ghc/trunk/ghc.install) ghc/repos/staging-i686/print-provides-replaces.sh (from rev 166370, ghc/trunk/print-provides-replaces.sh) ghc/repos/staging-x86_64/ ghc/repos/staging-x86_64/PKGBUILD (from rev 166370, ghc/trunk/PKGBUILD) ghc/repos/staging-x86_64/build.mk (from rev 166370, ghc/trunk/build.mk) ghc/repos/staging-x86_64/ghc.install (from rev 166370, ghc/trunk/ghc.install) ghc/repos/staging-x86_64/print-provides-replaces.sh (from rev 166370, ghc/trunk/print-provides-replaces.sh) ---+ staging-i686/PKGBUILD | 129 ++ staging-i686/build.mk | 200 staging-i686/ghc.install | 10 + staging-i686/print-provides-replaces.sh | 38 + staging-x86_64/PKGBUILD | 129 ++ staging-x86_64/build.mk | 200 staging-x86_64/ghc.install| 10 + staging-x86_64/print-provides-replaces.sh | 38 + 8 files changed, 754 insertions(+) Copied: ghc/repos/staging-i686/PKGBUILD (from rev 166370, ghc/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-09-07 04:46:15 UTC (rev 166371) @@ -0,0 +1,129 @@ +# $Id$ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. + +pkgname=ghc +pkgver=7.6.1 +pkgrel=1 +pkgdesc='The Glasgow Haskell Compiler' +arch=('i686' 'x86_64') +url='http://www.haskell.org/ghc/' +license=('custom') +# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496 +depends=('perl' 'gmp=5.0' 'gcc') # 'libffi') +makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl') +checkdepends=('python2') +install='ghc.install' +# keep this otherwise a lot of tests will show as unexpected failures... need to investigate why using -jn for n 1 does this... +#options=('!makeflags') +# missing rtl? +provides=('haskell-array=0.4.0.1' + 'haskell-base=4.6.0.0' + 'haskell-binary=0.5.1.1' + 'haskell-bin-package-db=0.0.0.0' + 'haskell-bytestring=0.10.0.0' + 'haskell-containers=0.5.0.0' + 'haskell-deepseq=1.3.0.1' + 'haskell-directory=1.2.0.0' + 'haskell-filepath=1.3.0.1' + 'haskell-ghc-prim=0.3.0.0' + 'haskell-haskell2010=1.1.1.0' + 'haskell-haskell98=2.0.0.2' + 'haskell-hoopl=3.9.0.0' + 'haskell-hpc=0.6.0.0' + 'haskell-integer-gmp=0.5.0.0' + 'haskell-old-locale=1.0.0.5' + 'haskell-old-time=1.1.0.1' + 'haskell-pretty=1.1.1.0' + 'haskell-process=1.1.0.2' + 'haskell-template-haskell=2.8.0.0' + 'haskell-time=1.4.0.1' + 'haskell-unix=2.6.0.0' + 'haskell-cabal=1.16.0') +replaces=('haskell-array0.4.0.1' + 'haskell-base4.6.0.0' + 'haskell-binary0.5.1.1' + 'haskell-bin-package-db0.0.0.0' + 'haskell-bytestring0.10.0.0' + 'haskell-containers0.5.0.0' + 'haskell-deepseq1.3.0.1' + 'haskell-directory1.2.0.0' + 'haskell-filepath1.3.0.1' + 'haskell-ghc-prim0.3.0.0' + 'haskell-haskell20101.1.1.0' + 'haskell-haskell982.0.0.2' + 'haskell-hoopl3.9.0.0' + 'haskell-hpc0.6.0.0' + 'haskell-integer-gmp0.5.0.0' + 'haskell-old-locale1.0.0.5' + 'haskell-old-time1.1.0.1' + 'haskell-pretty1.1.1.0' + 'haskell-process1.1.0.2' + 'haskell-template-haskell2.8.0.0' + 'haskell-time1.4.0.1' + 'haskell-unix2.6.0.0' + 'haskell-cabal1.16.0') +source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2; + http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2; +'build.mk') +md5sums=('e9d892d2970550ec5e70130b3621f6b6' + '0d93c458e3b445a7e524ef6ae459ce11' + 'c367ef26300648ee9b8aca3dee5c9669') + +build() { + cd ghc-${pkgver} + + cp ${srcdir}/build.mk mk/build.mk + + ./configure \ +--prefix=/usr + + make +} + +check() { + # keep this otherwise a lot of tests will show as unexpected failures... need to
[arch-commits] Commit in ghc/repos (10 files)
Date: Friday, February 24, 2012 @ 10:36:50 Author: tdziedzic Revision: 151054 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ghc/repos/staging-i686/ ghc/repos/staging-i686/PKGBUILD (from rev 151053, ghc/trunk/PKGBUILD) ghc/repos/staging-i686/build.mk (from rev 151053, ghc/trunk/build.mk) ghc/repos/staging-i686/ghc.install (from rev 151053, ghc/trunk/ghc.install) ghc/repos/staging-i686/print-provides-replaces.sh (from rev 151053, ghc/trunk/print-provides-replaces.sh) ghc/repos/staging-x86_64/ ghc/repos/staging-x86_64/PKGBUILD (from rev 151053, ghc/trunk/PKGBUILD) ghc/repos/staging-x86_64/build.mk (from rev 151053, ghc/trunk/build.mk) ghc/repos/staging-x86_64/ghc.install (from rev 151053, ghc/trunk/ghc.install) ghc/repos/staging-x86_64/print-provides-replaces.sh (from rev 151053, ghc/trunk/print-provides-replaces.sh) ---+ staging-i686/PKGBUILD | 111 + staging-i686/build.mk | 175 staging-i686/ghc.install | 10 + staging-i686/print-provides-replaces.sh | 38 ++ staging-x86_64/PKGBUILD | 111 + staging-x86_64/build.mk | 175 staging-x86_64/ghc.install| 10 + staging-x86_64/print-provides-replaces.sh | 38 ++ 8 files changed, 668 insertions(+) Copied: ghc/repos/staging-i686/PKGBUILD (from rev 151053, ghc/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-02-24 15:36:50 UTC (rev 151054) @@ -0,0 +1,111 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. +# Also, due to dependency loop problems, haskell-ghc-paths and haddock +# do not carry version dependencies. You will have to remember to build them too. + +pkgname=ghc +pkgver=7.4.1 +pkgrel=1 +pkgdesc='The Glasgow Haskell Compiler' +arch=('i686' 'x86_64') +url='http://www.haskell.org/ghc/' +license=('custom') +depends=('perl' 'gmp=5.0' 'gcc') +makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl') +checkdepends=('python2') +install='ghc.install' +groups=('haskell') +provides=('haskell-array=0.4.0.0' + 'haskell-base=4.5.0.0' + 'haskell-binary=0.5.1.0' + 'haskell-bin-package-db=0.0.0.0' + 'haskell-bytestring=0.9.2.1' + 'haskell-containers=0.4.2.1' + 'haskell-deepseq=1.3.0.0' + 'haskell-directory=1.1.0.2' + 'haskell-extensible-exceptions=0.1.1.4' + 'haskell-filepath=1.3.0.0' + 'haskell-ghc-prim=0.2.0.0' + 'haskell-haskell2010=1.1.0.1' + 'haskell-haskell98=2.0.0.1' + 'haskell-hoopl=3.8.7.3' + 'haskell-hpc=0.5.1.1' + 'haskell-integer-gmp=0.4.0.0' + 'haskell-old-locale=1.0.0.4' + 'haskell-old-time=1.1.0.0' + 'haskell-pretty=1.1.1.0' + 'haskell-process=1.1.0.1' + 'haskell-template-haskell=2.7.0.0' + 'haskell-time=1.4' + 'haskell-unix=2.5.1.0' + 'haskell-cabal=1.14.0' + ) +replaces=('haskell-array0.4.0.0' + 'haskell-base4.5.0.0' + 'haskell-binary0.5.1.0' + 'haskell-bin-package-db0.0.0.0' + 'haskell-bytestring0.9.2.1' + 'haskell-containers0.4.2.1' + 'haskell-deepseq1.3.0.0' + 'haskell-directory1.1.0.2' + 'haskell-extensible-exceptions0.1.1.4' + 'haskell-filepath1.3.0.0' + 'haskell-ghc-prim0.2.0.0' + 'haskell-haskell20101.1.0.1' + 'haskell-haskell982.0.0.1' + 'haskell-hoopl3.8.7.3' + 'haskell-hpc0.5.1.1' + 'haskell-integer-gmp0.4.0.0' + 'haskell-old-locale1.0.0.4' + 'haskell-old-time1.1.0.0' + 'haskell-pretty1.1.1.0' + 'haskell-process1.1.0.1' + 'haskell-template-haskell2.7.0.0' + 'haskell-time1.4' + 'haskell-unix2.5.1.0' + 'haskell-cabal1.14.0' + ) +source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2; + http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2; +'build.mk') +md5sums=('5d86c420978b49cc60edea9bd4c36703' + '54bc9405c14c3226b6e3de3cd61e2777' + '82b67cdd24a2e434a4399f30f14b21a3') + +build() { + cd ghc-${pkgver} + + cp ${srcdir}/build.mk mk/build.mk + + ./configure \ +--prefix=/usr + + make -j9 +} + +check() { + cd ghc-${pkgver} + + # python2 rename + sed -e 's/PYTHON = python/2/' -i testsuite/mk/boilerplate.mk +