# $Id: PKGBUILD 56429 2009-10-21 20:49:00Z jgc $ # Maintainer: Jan de Groot # Contributor: Sarah Hay pkgname=pygtk pkgver=2.16.0 pkgrel=2 pkgdesc="Python bindings for the GTK widget set" arch=('i686' 'x86_64') license=('LGPL') depends=('libglade>=2.6.4' 'pycairo>=1.8.6' 'pygobject>=2.20.0') makedepends=('python-numpy') optdepends=('python-numpy') options=('!libtool') url="http://www.pygtk.org/" source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.16/${pkgname}-${pkgver}.tar.bz2) sha256sums=('7fae5e01af217a01738eae41c38ad7f86d1f538f444300d0fa2847aafb7444a8') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -m644 gtk/gtk-extrafuncs.defs "${pkgdir}/usr/share/pygtk/2.0/defs/" || return 1 }