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

Felix Yan felixonmars at archlinux.org
Mon Mar 16 12:11:47 UTC 2020


    Date: Monday, March 16, 2020 @ 12:11:47
  Author: felixonmars
Revision: 599672

upgpkg: haskell-path-io 1.6.0-9: rebuild with path 0.7.0

Modified:
  haskell-path-io/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 12:09:11 UTC (rev 599671)
+++ PKGBUILD	2020-03-16 12:11:47 UTC (rev 599672)
@@ -5,7 +5,7 @@
 _hkgname=path-io
 pkgname=haskell-path-io
 pkgver=1.6.0
-pkgrel=8
+pkgrel=9
 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=('dcafbbfe1531d7b00a9df751c093e6affdefafe7589c0243530579b9f5733ef1357b1085cfd88bf53ff9794accddbc789b927a199f4c4a2b7778268cf1719477')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/< *0.7/<1/' $_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