description="gtkmm is the official C++ interface for the popular GUI library GTK+."
url="http://www.gtkmm.org"

packager="Spiky <spiky@nutyx.org>"

makedepends=(meson ninja libsigc++ glib)

name=glibmm
version=2.66.5

source=(https://download.gnome.org/sources/glibmm/${version%.*}/$name-$version.tar.xz)

build=meson

uptodate(){
local latest lastversion url
url="https://download.gnome.org/sources/$name"
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"
}
