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

Felix Yan felixonmars at archlinux.org
Thu Apr 23 22:31:40 UTC 2020


    Date: Thursday, April 23, 2020 @ 22:31:40
  Author: felixonmars
Revision: 618327

upgpkg: haskell-tar 0.5.1.1-5: rebuild with ghc 8.10.1

Modified:
  haskell-tar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 22:13:26 UTC (rev 618326)
+++ PKGBUILD	2020-04-23 22:31:40 UTC (rev 618327)
@@ -4,7 +4,7 @@
 _hkgname=tar
 pkgname=haskell-tar
 pkgver=0.5.1.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Reading, writing and manipulating \".tar\" archive files."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('8d0a8d3ae178570e0842a2321a7fc86a6bba28c471ec27bafbc07fc4ac0e4183f8113c99ebc7126dc71759c33083791122be32563fb0d5a2b2d39cb3b36171f2')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list