# Depends on: wayland description="Additional Wayland protocols" url=" https://wayland.freedesktop.org/" packager="tnut " contributors="Pierre B, Tnut, Greg" name=wayland-protocols version=1.17 source=(https://wayland.freedesktop.org/releases/wayland-protocols-$version.tar.xz) build() { cd $name-$version ./configure --prefix=/usr make make DESTDIR=$PKG install } uptodate() { local url ext url="https://wayland.freedesktop.org/releases" ext=".tar.xz" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url.html|grep $name|head -1|sed "s@$url/$name-@@"|sed "s@$ext@@" }