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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 23:46:59 UTC 2018


    Date: Sunday, October 14, 2018 @ 23:46:58
  Author: felixonmars
Revision: 393953

upgpkg: haskell-hsyaml 0.1.1.2-3

rebuild with ghc 8.6.1

Modified:
  haskell-hsyaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 23:44:15 UTC (rev 393952)
+++ PKGBUILD	2018-10-14 23:46:58 UTC (rev 393953)
@@ -3,7 +3,7 @@
 _hkgname=HsYAML
 pkgname=haskell-hsyaml
 pkgver=0.1.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Pure Haskell YAML 1.2 parser"
 url="https://github.com/hvr/HsYAML"
 license=('GPL')
@@ -13,6 +13,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('5379a3ee36a827579a73b84f82ea6bba713ab9a3437becf01610c96770ff689003c0d3266102df7181241502fc2a894da6cf6b06cbad1fa07d62f58c67f34d80')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/< *4.12/<5/' -e 's/< *0.6/<1/' -i $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list