description="contains the bindings Python2 for the components of heart GNOME Accessibility" url="http://www.cairographics.org/" packager="spiky " contributors="Pierre B, tnut" makedepends=(alsa-lib expat pulseaudio at-spi2-core python-gobject python2-gobject) name=python-atspi version=2.38.2 source=(http://ftp.gnome.org/pub/gnome/sources/pyatspi/${version%.*}/pyatspi-$version.tar.xz) build() { cd pyatspi-$version ./configure --prefix=/usr make make DESTDIR=$PKG install } uptodate(){ local latest lastversion url url="https://download.gnome.org/sources/pyatspi" latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \ $url/?C=N\;O=D|grep [0-9]/$|head -1`" lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \ $latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f3`" echo "$lastversion" }