Date: Wednesday, January 8, 2020 @ 22:37:45 Author: felixonmars Revision: 550771
upgpkg: haskell-json 0.9.3-5: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3 Modified: haskell-json/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-08 22:33:47 UTC (rev 550770) +++ PKGBUILD 2020-01-08 22:37:45 UTC (rev 550771) @@ -4,7 +4,7 @@ _hkgname=json pkgname=haskell-json pkgver=0.9.3 -pkgrel=4 +pkgrel=5 pkgdesc="Support for serialising Haskell to and from JSON" url="https://hackage.haskell.org/package/${_hkgname}" license=("BSD") @@ -11,9 +11,16 @@ arch=('x86_64') depends=('ghc-libs' "haskell-syb") makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('836ae920ef19e0cff5b617a579090ea1d760e253513d3fb28c56650a1fa413c0bd852165be487c211a52be6246eac3241a97f729342223be10275917a34230a6') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" + json-ghc-8.8.patch::https://github.com/GaloisInc/json/commit/9d36ca5d865be7e4b2126b68a444b901941d2492.patch) +sha512sums=('836ae920ef19e0cff5b617a579090ea1d760e253513d3fb28c56650a1fa413c0bd852165be487c211a52be6246eac3241a97f729342223be10275917a34230a6' + 'b7b389b8dd504e26e2a68aac3062ed9d8c7778f40c289acc3914645e5b8e04846a2f68280a703c584906001ae84d004a33eefd589b436251df8bd40b566efb56') +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../json-ghc-8.8.patch +} + build() { cd $_hkgname-$pkgver
