Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e16528ef41
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (27 sloc) 1.206 kb
Index: archhaskell-habs/haskell-pango/PKGBUILD
===================================================================
--- archhaskell-habs.orig/haskell-pango/PKGBUILD
+++ archhaskell-habs/haskell-pango/PKGBUILD
@@ -10,11 +10,12 @@ pkgdesc="Binding to the Pango text rende
url="http://projects.haskell.org/gtk2hs/"
license=("LGPL-2.1")
arch=('i686' 'x86_64')
-makedepends=()
+makedepends=("gtk2hs-buildtools")
depends=("ghc=7.4.2-1"
"haskell-cairo=0.12.3.1-25"
"haskell-glib=0.12.3.1-25"
- "haskell-mtl=2.1.2-25")
+ "haskell-mtl=2.1.2-25"
+ "pango")
options=('strip')
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install="${pkgname}.install"
@@ -28,6 +29,7 @@ build() {
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/${pkgname} \
--libsubdir=\$compiler/site-local/\$pkgid
+ sed -i 's|import Foreign.C.Types.*(CULong, CUInt)|import Foreign.C.Types (CULong(..), CUInt(..))|' Graphics/Rendering/Pango/Types.chs
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
Jump to Line
Something went wrong with that request. Please try again.