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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 20:15:16 UTC 2018


    Date: Monday, October 15, 2018 @ 20:15:15
  Author: felixonmars
Revision: 394341

upgpkg: haskell-src-meta 0.8.0.3-23

rebuild with ghc 8.6.1

Modified:
  haskell-src-meta/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 20:12:04 UTC (rev 394340)
+++ PKGBUILD	2018-10-15 20:15:15 UTC (rev 394341)
@@ -4,7 +4,7 @@
 _hkgname=haskell-src-meta
 pkgname=haskell-src-meta
 pkgver=0.8.0.3
-pkgrel=22
+pkgrel=23
 pkgdesc="Parse source to template-haskell abstract syntax"
 url="https://github.com/bmillwood/haskell-src-meta"
 license=("custom:BSD3")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('aaa17f71f8105abca0047cfa34a941bfe8b5cffb31cf788356f1f8e7c51b446d58b9fcb343c9206746b126b8360a2d0198a06400f0868382e59d9ddec312ad13')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e 's/< *2.14/<3/' -e 's/< *4.12/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list