# Maintainer: Natanael Copa pkgname=py-gobject pkgver=2.26.0 pkgrel=1 pkgdesc="Python bindings for the GObject library" url="http://www.pygtk.org/" arch="all" license="GPL" depends= makedepends="python-dev glib-dev py-cairo-dev gobject-introspection" install= subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.bz2" _builddir="$srcdir"/pygobject-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="7e3352c4b83ce8dc15290e86dd9c2be0 pygobject-2.26.0.tar.bz2"