#Packager: Dimitris Tzemos pkgname=pycairo pkgver=1.10.0 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1dj url=https://live.gnome.org/PyGObject source=("https://www.cairographics.org/releases/py2cairo-1.10.0.tar.bz2") docs=("authors" "install" "readme" "copying*" "news") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pycairo (a set of Python bindings for the cairo graphics library)" "Pycairo is set of Python bindings for the cairo graphics library." "" "pycairo home: http://cairographics.org/pycairo" ) build() { cd $startdir/src/py2cairo-$pkgver autoreconf -fi ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }