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-pango/PKGBUILD | |
parent | 0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff) |
Tue Jun 28 23:10:22 UTC 2011
Diffstat (limited to 'community/gtk2hs-pango/PKGBUILD')
-rw-r--r-- | community/gtk2hs-pango/PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/community/gtk2hs-pango/PKGBUILD b/community/gtk2hs-pango/PKGBUILD index 4b167ac6f..603918954 100644 --- a/community/gtk2hs-pango/PKGBUILD +++ b/community/gtk2hs-pango/PKGBUILD @@ -1,14 +1,15 @@ -# $Id: PKGBUILD 41288 2011-03-04 23:27:16Z remy $ +# $Id: PKGBUILD 50217 2011-06-26 20:24:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + _hkgname=pango pkgname=gtk2hs-pango pkgver=0.12.0 -pkgrel=3.1 +pkgrel=4 pkgdesc="Binding to the pango library for Gtk2Hs." url="http://hackage.haskell.org/package/pango" license=('LGPL2.1') arch=('i686' 'x86_64') -depends=('ghc=7.0.2' 'pango' 'gtk2hs-glib' 'gtk2hs-cairo') +depends=('ghc' 'pango' 'gtk2hs-glib' 'gtk2hs-cairo') makedepends=('gtk2hs-buildtools=0.12.0') options=('strip') source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) @@ -28,6 +29,9 @@ build() { } package() { + _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` + depends=("ghc=${_ghcver}" 'pango' 'gtk2hs-glib' 'gtk2hs-cairo') + 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 |