summaryrefslogtreecommitdiff
path: root/staging/haskell-zlib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
committerroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
commit2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 (patch)
tree851a0ed5423f6dad7e4b532c6a23f0eaf42aea9b /staging/haskell-zlib
parentf393cb99c2cc66d9c323fae18bab2c0dd57ac41f (diff)
Mon Sep 10 00:03:51 UTC 2012
Diffstat (limited to 'staging/haskell-zlib')
-rw-r--r--staging/haskell-zlib/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/staging/haskell-zlib/PKGBUILD b/staging/haskell-zlib/PKGBUILD
index 11767ab97..30834b3c1 100644
--- a/staging/haskell-zlib/PKGBUILD
+++ b/staging/haskell-zlib/PKGBUILD
@@ -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