[arch-commits] Commit in haskell-clash-prelude/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Apr 25 02:19:49 UTC 2020


    Date: Saturday, April 25, 2020 @ 02:19:49
  Author: felixonmars
Revision: 619703

upgpkg: haskell-clash-prelude 1.2.1-1: 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:
  haskell-clash-prelude/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 01:59:15 UTC (rev 619702)
+++ PKGBUILD	2020-04-25 02:19:49 UTC (rev 619703)
@@ -2,8 +2,8 @@
 
 _hkgname=clash-prelude
 pkgname=haskell-clash-prelude
-pkgver=1.2.0
-pkgrel=22
+pkgver=1.2.1
+pkgrel=1
 pkgdesc="CAES Language for Synchronous Hardware - Prelude library"
 url="https://github.com/clash-lang/clash-prelude"
 license=('BSD')
@@ -14,14 +14,18 @@
          'haskell-quickcheck' 'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
          'haskell-th-abstraction' 'haskell-th-lift' 'haskell-text-show' 'haskell-th-orphans'
          'haskell-type-errors' 'haskell-vector')
-makedepends=('ghc' 'haskell-doctest' 'haskell-hint' 'haskell-quickcheck-classes-base'
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hint' 'haskell-quickcheck-classes-base'
              'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('11b3686c8ca25d4ab65ae72622de9bfd2240900db88059a6cfa442667dc0c3619bab2f9cdd61b25ac58b11cdc8c0424620de4e3337fc0b24b5c4406b5b56c6c9')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+        $_hkgname-ghc-8.10.patch::https://github.com/clash-lang/clash-compiler/commit/58bf6af404e454077ebefd4d8ed7906348e23e88.patch)
+sha512sums=('737b76d2b4a55b278f5903e467dc81a7304001cba8f9ba5fb116192d250bae07e36e74e75f0566d679d6072b7138e5fbdc267e7e66c83d5d1c01fccf26bbc7cf'
+            '9b852633a5daea4e3c4338e46fae03babba2a255c388eb6dd7561f2b3b5656342bc514950895889872cf1e1a9743a664e3c73204819229f5594398dda0c1529f')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i -e 's/< *0.4/<1/' -e 's/< *2.14/<3/' $_hkgname.cabal
+    patch -p2 -i ../$_hkgname-ghc-8.10.patch || :
+    sed -i -e 's/< *0.4/<1/;s/< *0.6/<1/;s/< *2.14/<3/' $_hkgname.cabal
+    sed -i '/import Warning/d' Setup.hs
 }
 
 build() {



More information about the arch-commits mailing list