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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 15:41:25 UTC 2018


    Date: Sunday, October 14, 2018 @ 15:41:25
  Author: felixonmars
Revision: 393660

upgpkg: haskell-fclabels 2.0.3.3-5

rebuild with ghc 8.6.1

Modified:
  haskell-fclabels/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 15:37:44 UTC (rev 393659)
+++ PKGBUILD	2018-10-14 15:41:25 UTC (rev 393660)
@@ -4,7 +4,7 @@
 _hkgname=fclabels
 pkgname=haskell-fclabels
 pkgver=2.0.3.3
-pkgrel=4
+pkgrel=5
 pkgdesc="First class accessor labels implemented as lenses."
 url="https://github.com/sebastiaanvisser/fclabels"
 license=("custom:BSD3")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list