# description : Python2 bindings for PyGObject3 # depends : python-gobject3-common name=python2-gobject3 version=3.34.0 release=1 source=(https://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz) md5sum=(ca1dc4f31c1d6d283758e8f315a88ab6) build() { cd pygobject-$version mkdir build cd build meson --prefix=/usr -Dpython=python2 .. ninja DESTDIR=$PKG ninja install rm -fr $PKG/usr/{include/,lib/pkgconfig/} }