#Packager: George Vlahavas pkgname=py3gobject pkgver=3.18.2 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv url=https://live.gnome.org/PyGObject source=("http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.18/pygobject-3.18.2.tar.xz") docs=("authors" "install" "readme" "copying*" "news") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "py3gobject (GObject bindings for Python 3)" "This archive contains bindings for the GObject, to be used in Python" "version 3.x. It is a fairly complete set of bindings, it's already" "rather useful, and is usable to write moderately complex programs." ) build() { cd $startdir/src/pygobject-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --with-python=/usr/bin/python3 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }