[arch-commits] Commit in haskell-cabal-doctest/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 16 19:36:37 UTC 2018


    Date: Wednesday, May 16, 2018 @ 19:36:37
  Author: felixonmars
Revision: 323147

upgpkg: haskell-cabal-doctest 1.0.6-2

rebuild with ghc 8.4.2

Modified:
  haskell-cabal-doctest/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-16 19:36:27 UTC (rev 323146)
+++ PKGBUILD	2018-05-16 19:36:37 UTC (rev 323147)
@@ -5,7 +5,7 @@
 _hkgname=cabal-doctest
 pkgname=haskell-cabal-doctest
 pkgver=1.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A Setup.hs helper for doctests running"
 url="https://github.com/phadej/cabal-doctest"
 license=("custom:BSD3")
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('f009c91f9e9d2406a2ccb7049d554291527dcb3846fd63828147e03fc4c893223929261745ab5a8fb036bcf16b3c286587d3de8daa0fff330fb3c2d6b25fa399')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/<.*2.1/<3/' -e 's/<.*4.11/<5/' -i $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list