[arch-commits] Commit in haskell-cabal-doctest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 10:33:59 UTC 2020
Date: Thursday, April 23, 2020 @ 10:33:59
Author: felixonmars
Revision: 617929
upgpkg: haskell-cabal-doctest 1.0.8-4: rebuild with ghc 8.10.1
Modified:
haskell-cabal-doctest/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 10:32:10 UTC (rev 617928)
+++ PKGBUILD 2020-04-23 10:33:59 UTC (rev 617929)
@@ -4,7 +4,7 @@
_hkgname=cabal-doctest
pkgname=haskell-cabal-doctest
pkgver=1.0.8
-pkgrel=3
+pkgrel=4
pkgdesc="A Setup.hs helper for doctests running"
url="https://github.com/phadej/cabal-doctest"
license=("BSD")
@@ -14,6 +14,11 @@
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('121827f4f9117673c5c41beeaff2ef74f75ca55fba8460f6289d69b1ebfdebb9568f23b4b7d0ab2f3d436cbcdaa073709a26562b39e5f57a6a705088d0a2ff71')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/< *3.1/<4/;s/< *4.14/<5/' $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list