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

Thomas Dziedzic tdziedzic at archlinux.org
Sat Sep 8 08:02:45 UTC 2012


    Date: Saturday, September 8, 2012 @ 04:02:45
  Author: tdziedzic
Revision: 166468

upgpkg: haskell-zlib 0.5.3.3-5

rebuild

Modified:
  haskell-zlib/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-08 07:40:47 UTC (rev 166467)
+++ PKGBUILD	2012-09-08 08:02:45 UTC (rev 166468)
@@ -6,18 +6,22 @@
 _hkgname=zlib
 pkgname=haskell-zlib
 pkgver=0.5.3.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Compression and decompression in the gzip and zlib formats"
 url="http://hackage.haskell.org/package/zlib"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=7.4.2-1' 'zlib' 'sh')
+depends=('ghc=7.6.1-1' 'zlib' 'sh')
 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 install=${pkgname}.install
 md5sums=('1649e56d13ce2c6a6a9210227401dbbc')
 
 build() {
     cd ${srcdir}/${_hkgname}-${pkgver}
+
+    # ghc 7.6 includes bytestring 0.10
+    sed 's/bytestring == 0.9.*/bytestring == 0.10.*/' -i zlib.cabal
+
     runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
       --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
       --libsubdir=\$compiler/site-local/\$pkgid




More information about the arch-commits mailing list