[arch-commits] Commit in haskell-newtype-generics/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Apr 24 03:39:49 UTC 2020


    Date: Friday, April 24, 2020 @ 03:39:48
  Author: felixonmars
Revision: 618659

upgpkg: haskell-newtype-generics 0.5.4-19: rebuild with ghc 8.10.1

Modified:
  haskell-newtype-generics/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-24 03:32:34 UTC (rev 618658)
+++ PKGBUILD	2020-04-24 03:39:48 UTC (rev 618659)
@@ -3,7 +3,7 @@
 _hkgname=newtype-generics
 pkgname=haskell-newtype-generics
 pkgver=0.5.4
-pkgrel=18
+pkgrel=19
 pkgdesc="A typeclass and set of functions for working with newtypes"
 url="https://github.com/sjakobi/newtype-generics"
 license=('BSD')
@@ -13,6 +13,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('33128015f68a01633b778b8fd7f3d3df8f13b33479705edd4b47036641d7b358667998eb56a6fecdb1f65cb7fb0ac456b8d08ef264e1c17b2fad08ce0a0ffea1')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list