summaryrefslogtreecommitdiff
path: root/community/haskell-cairo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/haskell-cairo/PKGBUILD')
-rw-r--r--community/haskell-cairo/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/haskell-cairo/PKGBUILD b/community/haskell-cairo/PKGBUILD
index 4d58b76ea..05b65a6ee 100644
--- a/community/haskell-cairo/PKGBUILD
+++ b/community/haskell-cairo/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 58942 2011-11-20 18:00:00Z spupykin $
+# $Id: PKGBUILD 67050 2012-03-03 16:09:51Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=haskell-cairo
pkgver=0.12.2
-pkgrel=1
+pkgrel=2
pkgdesc="Binding to the cairo library for Gtk2Hs."
url="http://hackage.haskell.org/package/cairo"
license=('LGPL2.1')
@@ -20,6 +20,7 @@ md5sums=('b3583136fe84d25cd9d4f7bda3c3db0c')
build() {
cd ${srcdir}/cairo-$pkgver
+ sed -i 's#cToBool :: Num a => a -> Bool#cToBool :: (Eq a, Num a) => a -> Bool#' Graphics/Rendering/Cairo/Types.chs
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/haskell-cairo \
--libsubdir=\$compiler/site-local/\$pkgid