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

Felix Yan felixonmars at archlinux.org
Thu May 17 11:02:15 UTC 2018


    Date: Thursday, May 17, 2018 @ 11:02:15
  Author: felixonmars
Revision: 323674

upgpkg: haskell-cryptohash-sha256 0.11.101.0-3

rebuild with ghc 8.4.2

Modified:
  haskell-cryptohash-sha256/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-17 10:56:28 UTC (rev 323673)
+++ PKGBUILD	2018-05-17 11:02:15 UTC (rev 323674)
@@ -5,7 +5,7 @@
 _hkgname=cryptohash-sha256
 pkgname=haskell-cryptohash-sha256
 pkgver=0.11.101.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Fast, pure and practical SHA-256 implementation"
 url="https://github.com/hvr/cryptohash-sha256"
 license=("custom:BSD3")
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('c755f1354fb5f1d6cfb54f73e39692392517954118d98b39ac4be7460e75a9ddc91ad641fed0f17e5fa33b62b7b0734af66526ea757e00716832572bb383c612')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*4.11/<5/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list