summaryrefslogtreecommitdiff
path: root/community/gtk2hs-cairo/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
commite2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch)
tree506c782411889ae8fe218db16eee680c7ae5e0e2 /community/gtk2hs-cairo/PKGBUILD
parent7927a6b6296eecd09c8d2f70e593a378768deabe (diff)
parent5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/haskell-dbus/PKGBUILD community/haskell-hslogger/PKGBUILD community/kvirc/PKGBUILD community/perl-gtk2-trayicon/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/linux-api-headers/PKGBUILD extra/krusader/PKGBUILD extra/libproxy/PKGBUILD extra/libreoffice/PKGBUILD extra/openal/PKGBUILD extra/postgresql/PKGBUILD extra/razor/PKGBUILD extra/subversion/PKGBUILD extra/swt/PKGBUILD extra/valgrind/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/git/PKGBUILD testing/graphviz/PKGBUILD testing/graphviz/install testing/perl-xml-parser/PKGBUILD
Diffstat (limited to 'community/gtk2hs-cairo/PKGBUILD')
-rw-r--r--community/gtk2hs-cairo/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/gtk2hs-cairo/PKGBUILD b/community/gtk2hs-cairo/PKGBUILD
index 196110c6e..cb3fc256b 100644
--- a/community/gtk2hs-cairo/PKGBUILD
+++ b/community/gtk2hs-cairo/PKGBUILD
@@ -1,14 +1,15 @@
-# $Id: PKGBUILD 41273 2011-03-04 22:51:09Z remy $
+# $Id: PKGBUILD 50211 2011-06-26 20:14:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
_hkgname=cairo
pkgname=gtk2hs-cairo
pkgver=0.12.0
-pkgrel=3.1
+pkgrel=4
pkgdesc="Binding to the cairo library for Gtk2Hs."
url="http://hackage.haskell.org/package/cairo"
license=('LGPL2.1')
-arch=('i686' 'x86_64' 'mips64el')
-depends=('ghc=7.0.2' 'cairo' 'haskell-mtl=2.0.1.0')
+arch=('i686' 'x86_64')
+depends=('ghc' 'cairo' 'haskell-mtl=2.0.1.0')
makedepends=(gtk2hs-buildtools)
options=('strip')
install=${pkgname}.install
@@ -28,6 +29,9 @@ build() {
}
package() {
+ _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
+ depends=("ghc=${_ghcver}" 'cairo' 'haskell-mtl=2.0.1.0')
+
cd ${srcdir}/${_hkgname}-${pkgver}
install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh