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

Felix Yan felixonmars at archlinux.org
Sat Apr 25 03:04:26 UTC 2020


    Date: Saturday, April 25, 2020 @ 03:04:26
  Author: felixonmars
Revision: 619753

upgpkg: hlint 2.2.11-44: rebuild with ghc 8.10.1, protolude 0.3.0, repline 0.3.0.0, ghc-lib-parser-ex 8.10.0.1, th-desugar 1.11, singletons 2.7

Modified:
  hlint/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 03:02:14 UTC (rev 619752)
+++ PKGBUILD	2020-04-25 03:04:26 UTC (rev 619753)
@@ -3,7 +3,8 @@
 
 pkgname=hlint
 pkgver=2.2.11
-pkgrel=43
+_commit=500f2f03ea4f783352b418bfa9dbe1a591171544
+pkgrel=44
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/"
 license=("BSD")
@@ -16,13 +17,12 @@
 conflicts=('haskell-hlint')
 replaces=('haskell-hlint')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('287b4230d1238b45fa8b6cbe51e6bca19e0300ad89e9637a250e51104a5f843ac5bfbbd2c984edd482248aa086de5f22f82d3525d80880a02847db4130d1aa9c')
+source=("https://github.com/ndmitchell/hlint/archive/$_commit/$pkgname-$_commit.tar.gz")
+#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('1c6b6eb9145e48fd006b055df00cd11d229df8eea47acd45862994c020cd1f79ad6cc82d48e0cfbaba302dd93d202b2a167e2d6d56fbc61f37aae60e1f4aa1ba')
 
 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
+    mv $pkgname-{$_commit,$pkgver}
 }
 
 build() {


More information about the arch-commits mailing list