# $Id: PKGBUILD 35285 2009-04-11 20:46:50Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-python-extras
pkgver=2.25.3
pkgrel=1
pkgdesc="Gnome Python interfaces for libraries not part of the core platform"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('gnome-python>=2.22.1')
makedepends=('libgtkhtml' 'gtkspell' 'gdl' 'xulrunner>=1.9' 'libgksu' 'pkgconfig' 'libgnomeui' 'libgda')
optdepends=('libgtkhtml' 'gtkspell' 'gdl' 'xulrunner' 'libgksu' 'libgnomeui' 'libgda')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/gnome-python-extras/2.25/gnome-python-extras-${pkgver}.tar.bz2)
url="http://www.daa.com.au/~james/pygtk/"
md5sums=('9f3b7ec5c57130b96061cb486b79c076')

build() {
  cd "${srcdir}/gnome-python-extras-${pkgver}"
  ./configure --prefix=/usr || return 1
  make MOZILLA_HOME=/usr/lib/xulrunner-1.9 || return 1 
  make DESTDIR="${pkgdir}" install || return 1
}