[arch-commits] Commit in haskell-retry/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 20 03:00:33 UTC 2021
Date: Sunday, June 20, 2021 @ 03:00:32
Author: felixonmars
Revision: 965785
upgpkg: haskell-retry 0.8.1.2-119: rebuild with ghc 9.0.1
Modified:
haskell-retry/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-20 02:51:35 UTC (rev 965784)
+++ PKGBUILD 2021-06-20 03:00:32 UTC (rev 965785)
@@ -4,7 +4,7 @@
_hkgname=retry
pkgname=haskell-retry
pkgver=0.8.1.2
-pkgrel=118
+pkgrel=119
pkgdesc="Retry combinators for monadic actions that may fail"
url="https://github.com/Soostone/retry"
license=("BSD")
@@ -15,6 +15,12 @@
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('42856d43035e7c3a8128768c1a12fb1fbbd33ebc12fba152f5559e117a6339ea35a75e06243c320623e42a70916ad9f5a141988c42df4e44acb084210e2488e7')
+prepare() {
+ cd $_hkgname-$pkgver
+ # https://github.com/Soostone/retry/issues/71
+ sed -i 's/fmap \(.*\) genDuration/fmap (\\x -> \1 x) genDuration/g' test/Tests/Control/Retry.hs
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list