[arch-commits] Commit in haskell-protolude/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jun 19 16:25:21 UTC 2021
Date: Saturday, June 19, 2021 @ 16:25:21
Author: felixonmars
Revision: 965530
upgpkg: haskell-protolude 0.3.0-91: rebuild with ghc 9.0.1
Modified:
haskell-protolude/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-19 16:12:16 UTC (rev 965529)
+++ PKGBUILD 2021-06-19 16:25:21 UTC (rev 965530)
@@ -4,7 +4,7 @@
_hkgname=protolude
pkgname=haskell-protolude
pkgver=0.3.0
-pkgrel=90
+pkgrel=91
pkgdesc="A sensible set of defaults for writing custom Preludes."
url="https://github.com/sdiehl/protolude"
license=("MIT")
@@ -11,12 +11,15 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-async' 'haskell-hashable'
'haskell-transformers-compat')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('0941e344320e09fca457ce0be31b1fbb7c715a11ea371263d029942cb649bfb1194b012493e31697c5a05bd3e4de5108bcd2c82c79c9f2f30b260959ec8f0738')
prepare() {
- sed -e '/mtl-compat/d' -i $_hkgname-$pkgver/$_hkgname.cabal
+ cd $_hkgname-$pkgver
+ uusi -d mtl-compat -u base -u ghc-prim $_hkgname.cabal
+ # https://github.com/protolude/protolude/pull/123#issuecomment-864426312
+ sed -i 's/MIN_VERSION_base(4,9,0)/MIN_VERSION_base(9,9,9)/' src/Protolude/Base.hs
}
build() {
More information about the arch-commits
mailing list