summaryrefslogtreecommitdiff
path: root/community/haskell-cairo/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-29 10:37:36 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-29 10:37:36 +0200
commite7fca19e8659c6c5b6fbb34527b129e655514f1e (patch)
treec9401e3d97a233417fb9fea6ba36fcaa4b74f2b1 /community/haskell-cairo/PKGBUILD
parent0a1081b50cec0fd8e54282d5f503feb0769eaa4f (diff)
parentbab69e0f720c6f189c4486b7b945079be23f0a4b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/haskell-dataenc/PKGBUILD community/haskell-haskeline/PKGBUILD community/haskell-tar/PKGBUILD community/haskell-terminfo/PKGBUILD community/haskell-utf8-string/PKGBUILD community/haskell-x11-xft/PKGBUILD community/python-pyzmq/PKGBUILD extra/cabal-install/PKGBUILD extra/gtk-qt-engine/PKGBUILD extra/haskell-http/PKGBUILD extra/haskell-mtl/PKGBUILD extra/haskell-network/PKGBUILD extra/haskell-parsec/PKGBUILD extra/haskell-text/PKGBUILD extra/haskell-transformers/PKGBUILD extra/haskell-zlib/PKGBUILD
Diffstat (limited to 'community/haskell-cairo/PKGBUILD')
-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