description="xorg lib libxshmfence" url="http://xorg.freedesktop.org" packager="tnut " contributors="Pierre B, Greg" name=xorg-libxshmfence version=1.3 _name=libxshmfence makedepends=(xorgproto xorg-libx11) source=(http://ftp.x.org/pub/individual//lib/libxshmfence-$version.tar.bz2) build=xorg package() { rm $PKG/usr/lib/libxshmfence.la } uptodate() { 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="libxshmfence-" $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/$name"|sed "s@$ext\$@@"|sed "s@$url/$name@@"|head -1 }