Date: Tuesday, August 18, 2020 @ 16:24:17 Author: felixonmars Revision: 683995
upgpkg: haskell-optics-th 0.3.0.1-2: rebuild with ghc 8.10.2 Modified: haskell-optics-th/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-18 16:15:20 UTC (rev 683994) +++ PKGBUILD 2020-08-18 16:24:17 UTC (rev 683995) @@ -3,7 +3,7 @@ _hkgname=optics-th pkgname=haskell-optics-th pkgver=0.3.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Optics construction using TemplateHaskell" url="https://github.com/well-typed/optics" license=('BSD') @@ -10,11 +10,14 @@ arch=('x86_64') depends=('ghc-libs' 'haskell-optics-core' 'haskell-th-abstraction') makedepends=('ghc' 'haskell-tagged') -source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('4a6c92fb3b9f1803f2b93cba83f0b2fc9b11cec6d22aad32357b1735ea75335c9249b646bd4ae9712b35156c0faf571474bfe789a39275ace1b1eb05db5ff0c1') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz + $pkgname-ghc-8.10.2.patch::https://github.com/well-typed/optics/pull/339.patch) +sha512sums=('4a6c92fb3b9f1803f2b93cba83f0b2fc9b11cec6d22aad32357b1735ea75335c9249b646bd4ae9712b35156c0faf571474bfe789a39275ace1b1eb05db5ff0c1' + '043036fef711ee78203f73e0482f3bab214c628348287afa22fd31bdb15349de507aa76080f14551ed6b62a66c56d63bc81da4391fc8cc9c6565238aa9fb2a15') prepare() { cd $_hkgname-$pkgver + patch -p2 -i ../$pkgname-ghc-8.10.2.patch echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs }
