[arch-commits] Commit in hlint/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Apr 4 19:32:10 UTC 2020


    Date: Saturday, April 4, 2020 @ 19:32:10
  Author: felixonmars
Revision: 611686

upgpkg: hlint 2.2.11-39: rebuild with ghc-lib-parser-ex 8.8.6.0

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 19:18:01 UTC (rev 611685)
+++ PKGBUILD	2020-04-04 19:32:10 UTC (rev 611686)
@@ -3,7 +3,7 @@
 
 pkgname=hlint
 pkgver=2.2.11
-pkgrel=38
+pkgrel=39
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/"
 license=("BSD")
@@ -19,6 +19,12 @@
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('287b4230d1238b45fa8b6cbe51e6bca19e0300ad89e9637a250e51104a5f843ac5bfbbd2c984edd482248aa086de5f22f82d3525d80880a02847db4130d1aa9c')
 
+prepare() {
+    cd $pkgname-$pkgver
+    sed -i 's/== *8.8.5/== 8.8.6/' $pkgname.cabal
+    sed -i 's/Language.Haskell.GhclibParserEx.DynFlags/Language.Haskell.GhclibParserEx.GHC.Driver.Session/' src/GHC/Util.hs
+}
+
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list