[arch-commits] Commit in haskell-path-io/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jan 10 15:00:27 UTC 2020


    Date: Friday, January 10, 2020 @ 15:00:27
  Author: felixonmars
Revision: 551622

upgpkg: haskell-path-io 1.4.2-49: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0, gtk2hs-buildtools 0.13.8.0, ghc-typelits-natnormalise 0.7, resolv 0.1.1.3, ghc-typelits-knownnat 0.7.1

Modified:
  haskell-path-io/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-10 14:49:10 UTC (rev 551621)
+++ PKGBUILD	2020-01-10 15:00:27 UTC (rev 551622)
@@ -5,7 +5,7 @@
 _hkgname=path-io
 pkgname=haskell-path-io
 pkgver=1.4.2
-pkgrel=48
+pkgrel=49
 pkgdesc="Interface to ‘directory’ package for users of ‘path’"
 url="https://github.com/mrkkrp/path-io"
 license=("BSD")
@@ -16,6 +16,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
 sha512sums=('01a20544dba6aa8941da8826296ee6e6d1d83b7b3a102625a18c95db7f6cc42115f766371838f0fc0f39ca1f603cfad34660643eb66efbcd206afea78c67d38e')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *1.9/<2/' $_hkgname.cabal
+}
+
 build() {
   cd "$srcdir/$_hkgname-$pkgver"
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list