# Maintainer: Natanael Copa pkgname=py-gobject3 pkgver=3.18.2 pkgrel=0 pkgdesc="Python bindings for the GObject library" url="http://www.pygtk.org/" arch="all" license="GPL" depends="py-cairo" depends_dev="libffi-dev glib-dev" makedepends="$depends_dev python-dev py-cairo-dev gobject-introspection-dev" install= subpackages="$pkgname-dev" source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.xz" _builddir="$srcdir"/pygobject-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" CFLAGS="$CFLAGS -D_GNU_SOURCE" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-compile-warnings=minimum \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="0a956f3e785e23b0f136832f2e57a862 pygobject-3.18.2.tar.xz" sha256sums="2a3cad1517916b74e131e6002c3824361aee0671ffb0d55ded119477fc1c2c5f pygobject-3.18.2.tar.xz" sha512sums="8001efdbfb07caa23d2e1024e90c5db7478468b2e8de319fb25695e69e5898524ebccc8b69edcedb71ff02d9fe333448986cc5a22014f8661230fd5acdffa19e pygobject-3.18.2.tar.xz"