description="libXres, resource extension client library" url="http://xorg.freedesktop.org" packager="spiky " contributors="Pierre B, Greg, tnut" name=xorg-libxres version=1.2.2 _name=libXres makedepends=(xorgproto xorg-libx11 xorg-libxext) source=(http://ftp.x.org/pub/individual/lib/${_name}-$version.tar.xz) build=xorg package() { rm $PKG/usr/lib/libXRes.la } ptodate() { local ext url name LINX LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers " ext=".tar.bz2" url="https://ftp.x.org/archive//individual//lib" name="libXres-" $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/$name"|sed "s@$ext\$@@"|sed "s@$url/$name@@"|head -1 }