description="This library provides useful functions commonly found on BSD systems, and lacking on others" url="http://libbsd.freedesktop.org" packager="spiky " contributors="Pierre,Tnut" makedepends=(glibc libmd) name=libbsd version=0.11.8 source=(http://libbsd.freedesktop.org/releases/$name-$version.tar.xz) package() { rm $PKG/usr/lib/libbsd.la } uptodate() { local url ext ext=".tar.xz" url="https://libbsd.freedesktop.org/releases/" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url/?C=M\;O=D|grep $ext$|head -1|sed "s@$url/$name-@@"|sed "s/$ext//" }