# Depends on: python2-cairo gobject-introspection xorg-libxxf86vm

description="provides the links of Python 2 for the class GObject of GLib."
url="http://www.gnome.org/"
packager="pierre at nutyx dot org, tnut at nutyx dot org"
name=python2-gobject
version=3.22.0
release=2

source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz)
	
build() {
cd pygobject-$version
mkdir python2
pushd python2
../configure --prefix=/usr \
--with-python=/usr/bin/python
make
popd
make DESTDIR=$PKG -C python2 install
rm -r $PKG/usr/{lib/pkgconfig,include}
}  
