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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 21:30:03 UTC 2018


    Date: Sunday, October 14, 2018 @ 21:30:02
  Author: felixonmars
Revision: 393872

upgpkg: haskell-lrucache 1.2.0.0-32

rebuild with ghc 8.6.1

Modified:
  haskell-lrucache/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 21:26:48 UTC (rev 393871)
+++ PKGBUILD	2018-10-14 21:30:02 UTC (rev 393872)
@@ -4,7 +4,7 @@
 _hkgname=lrucache
 pkgname=haskell-lrucache
 pkgver=1.2.0.0
-pkgrel=31
+pkgrel=32
 pkgdesc="a simple, pure LRU cache"
 url="https://github.com/chowells79/lrucache"
 license=("custom:BSD3")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('efbd2fe79188a0fb06cb9b3c0603d03d643cc38d7e067d9413889a8cc3546094f09928c4451efd4215d24aa8a48ce02dcb5b65b6b82b540ae86a3a8da5bd9567')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list