summaryrefslogtreecommitdiff
path: root/community/haskell-cairo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-29 00:34:23 -0700
committerroot <root@rshg054.dnsready.net>2013-04-29 00:34:23 -0700
commitbab69e0f720c6f189c4486b7b945079be23f0a4b (patch)
tree381ff8864fb51d2d7510c6cb1dc2bc8972b8de47 /community/haskell-cairo
parentf38edbff3878008c8b2ae1ca8a496c349763017b (diff)
Mon Apr 29 00:34:20 PDT 2013
Diffstat (limited to 'community/haskell-cairo')
-rw-r--r--community/haskell-cairo/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/haskell-cairo/PKGBUILD b/community/haskell-cairo/PKGBUILD
index 92bb5dff3..eb6a48ed4 100644
--- a/community/haskell-cairo/PKGBUILD
+++ b/community/haskell-cairo/PKGBUILD
@@ -1,13 +1,14 @@
-# $Id: PKGBUILD 83995 2013-02-08 04:15:27Z td123 $
+# $Id: PKGBUILD 89294 2013-04-28 16:52:15Z td123 $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=haskell-cairo
pkgver=0.12.4
-pkgrel=2
+pkgrel=4
pkgdesc="Binding to the cairo library for Gtk2Hs."
url="http://hackage.haskell.org/package/cairo"
license=('LGPL2.1')
arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
depends=('ghc' 'cairo' 'haskell-mtl')
makedepends=("gtk2hs-buildtools")
options=('strip')
@@ -31,7 +32,9 @@ build() {
}
package() {
- depends=("ghc=`pacman -Q ghc | cut -f2 -d\ |cut -f1 -d-`" 'cairo' "haskell-mtl=`pacman -Q haskell-mtl | cut -f2 -d\ |cut -f1 -d-`")
+ _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
+ _hmtlver=`pacman -Q haskell-mtl | cut -f2 -d\ | cut -f1 -d-`
+ depends=("ghc=${_ghcver}" "cairo" "haskell-mtl=${_hglibver}")
cd ${srcdir}/cairo-${pkgver}
install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh