community/ghc to 8.8.2-1

This commit is contained in:
Kevin Mihelich 2020-02-18 00:35:35 +00:00
parent 3b366d7594
commit d416ac2fa5

View file

@ -16,8 +16,8 @@ shopt -s extglob
pkgbase=ghc
pkgname=(ghc-libs ghc ghc-static)
pkgver=8.8.1
pkgrel=2
pkgver=8.8.2
pkgrel=1
pkgdesc='The Glasgow Haskell Compiler'
arch=('x86_64')
url='https://www.haskell.org/ghc/'
@ -28,7 +28,7 @@ source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.x
ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook
0001-llvm-targets-Add-armv6l-unknown-linux-gnueabihf-and-.patch)
noextract=("$pkgbase-${pkgver}-src.tar.xz")
sha512sums=('7268b012c3a6c34e7eac05c7d6959de6005651d33e870860bbfe589295502e8794a76580130b8f4da2f88032b68116dbbdbc4c1e900e0c862aaa9891fa788bef'
sha512sums=('11eec0bc03254ea848a5c86bc3e2da317801a1227dd91406a157e11cb675891d77d61177b740b6df88bd823063f6cb2af5a928a7540e25392d9d0769ea121069'
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad'
@ -43,6 +43,8 @@ prepare() {
cd ghc-$pkgver
cp mk/build.mk{.sample,}
sed -i '/defined(STAGE)/d' includes/MachDeps.h
sed -i '1iBuildFlavour = perf' mk/build.mk
patch -p1 -i ../0001-llvm-targets-Add-armv6l-unknown-linux-gnueabihf-and-.patch
@ -107,24 +109,24 @@ package_ghc-libs() {
provides=('haskell-array=0.5.4.0'
'haskell-base=4.13.0.0'
'haskell-binary=0.8.7.0'
'haskell-bytestring=0.10.9.0'
'haskell-bytestring=0.10.10.0'
'haskell-containers=0.6.2.1'
'haskell-deepseq=1.4.4.0'
'haskell-directory=1.3.3.2'
'haskell-directory=1.3.4.0'
'haskell-filepath=1.4.2.1'
'haskell-ghc-boot=8.8.1'
'haskell-ghc-boot-th=8.8.1'
'haskell-ghc-boot=8.8.2'
'haskell-ghc-boot-th=8.8.2'
'haskell-ghc-compact=0.1.0.0'
'haskell-ghc-heap=8.8.1'
'haskell-ghc-heap=8.8.2'
'haskell-ghc-prim=0.5.3'
'haskell-haskeline=0.7.5.0'
'haskell-hpc=0.6.0.3'
'haskell-integer-gmp=1.0.2.0'
'haskell-libiserv=8.8.1'
'haskell-libiserv=8.8.2'
'haskell-mtl=2.2.2'
'haskell-parsec=3.1.14.0'
'haskell-pretty=1.1.3.6'
'haskell-process=1.6.5.1'
'haskell-process=1.6.7.0'
'haskell-stm=2.5.0.0'
'haskell-template-haskell=2.15.0.0'
'haskell-terminfo=0.4.1.4'
@ -133,7 +135,7 @@ package_ghc-libs() {
'haskell-transformers=0.5.6.2'
'haskell-unix=2.7.2.2'
'haskell-xhtml=3000.2.2.1'
'haskell-cabal=3.0.0.0')
'haskell-cabal=3.0.1.0')
replaces=('haskell-array'
'haskell-base'
'haskell-binary'