# $Id: PKGBUILD 24736 2009-01-20 13:32:32Z douglas $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pygobject
pkgver=2.16.0
pkgrel=1
pkgdesc="Python bindings for GObject"
arch=(i686 x86_64)
license=('LGPL')
depends=('python>=2.5.2-5' 'glib2>=2.18.4')
source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/2.16/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool')
url="http://www.pygtk.org/"
md5sums=('431e7d4632163b93d1ee43cd071a389c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}