diff options
author | root <root@rshg047.dnsready.net> | 2011-06-28 23:10:22 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-28 23:10:22 +0000 |
commit | 108636e69eaeef67f4e7263c7f26105e25979e89 (patch) | |
tree | 94f902b30c95dbddd8f514c4d3645700f80ed101 /community/gtk2hs-cairo | |
parent | 0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff) |
Tue Jun 28 23:10:22 UTC 2011
Diffstat (limited to 'community/gtk2hs-cairo')
-rw-r--r-- | community/gtk2hs-cairo/PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/community/gtk2hs-cairo/PKGBUILD b/community/gtk2hs-cairo/PKGBUILD index 3f1afd76e..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') -depends=('ghc=7.0.2' 'cairo' 'haskell-mtl=2.0.1.0') +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 |