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

Felix Yan fyan at archlinux.org
Thu Mar 3 17:12:25 UTC 2016


    Date: Thursday, March 3, 2016 @ 18:12:25
  Author: fyan
Revision: 164523

upgpkg: c2hs 0.27.1-3

rebuild with language-c-0.5.0, xml-conduit-1.3.4, cabal-install-1.22.9.0

Modified:
  c2hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-03 16:56:13 UTC (rev 164522)
+++ PKGBUILD	2016-03-03 17:12:25 UTC (rev 164523)
@@ -4,7 +4,7 @@
 
 pkgname=c2hs
 pkgver=0.27.1
-pkgrel=2
+pkgrel=3
 pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
 url="https://github.com/haskell/c2hs"
 license=("GPL2")
@@ -15,6 +15,10 @@
 source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha256sums=('668af07f261c7c6c2537921ba58870cfb1114b33670f2c182e6f9a8794ffe41f')
 
+prepare() {
+    sed -i 's/language-c >= 0.4.7 && < 0.5,/language-c >= 0.4.7 \&\& < 0.6,/' ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     



More information about the arch-commits mailing list