summaryrefslogtreecommitdiff
path: root/community/haskell-cairo/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
commit63a600a5f9102d817332db9fb746a4153ed62b51 (patch)
treed4219aa8c6331cc37c98b943b1f9db68306bd81d /community/haskell-cairo/PKGBUILD
parent35c30674b2b901077a809a6f1d8e5a0115098c8b (diff)
Fri Jun 15 00:01:47 UTC 2012
Diffstat (limited to 'community/haskell-cairo/PKGBUILD')
-rw-r--r--community/haskell-cairo/PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/haskell-cairo/PKGBUILD b/community/haskell-cairo/PKGBUILD
index 9af4c4cd4..a292c37c8 100644
--- a/community/haskell-cairo/PKGBUILD
+++ b/community/haskell-cairo/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 67618 2012-03-13 14:21:56Z spupykin $
+# $Id: PKGBUILD 72385 2012-06-13 13:46:01Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=haskell-cairo
-pkgver=0.12.3
+pkgver=0.12.3.1
pkgrel=1
pkgdesc="Binding to the cairo library for Gtk2Hs."
url="http://hackage.haskell.org/package/cairo"
license=('LGPL2.1')
arch=('i686' 'x86_64')
-depends=('ghc' 'cairo' 'haskell-mtl')
+depends=('ghc=7.4.2-1' 'cairo' 'haskell-mtl=2.1.1-1')
makedepends=("gtk2hs-buildtools")
options=('strip')
conflicts=('gtk2hs-cairo')
@@ -16,7 +16,7 @@ provides=('gtk2hs-cairo')
replaces=('gtk2hs-cairo')
install=gtk2hs-cairo.install
source=(http://hackage.haskell.org/packages/archive/cairo/$pkgver/cairo-$pkgver.tar.gz)
-md5sums=('cdb322086f5b78a7611650b2b29826b3')
+md5sums=('9d489fbb6cadb3d109543fe25c50195e')
build() {
cd ${srcdir}/cairo-$pkgver
@@ -31,9 +31,6 @@ build() {
}
package() {
- _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
- depends=("ghc=${_ghcver}" 'cairo' 'haskell-mtl=2.0.1.0')
-
cd ${srcdir}/cairo-${pkgver}
install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh
install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/unregister.sh