description="The Operating System information database" url="http://libosinfo.org" license="GPL2 LGPL2.1" packager="spiky " contributors="Tnut, Jayce" makedepends=(libsoup check) set=(gnome) name=libosinfo version=1.11.0 source=(https://releases.pagure.org/$name/$name-$version.tar.xz) build() { cd $name-$version mkdir build cd build meson setup .. \ --prefix=/usr \ --buildtype=release ninja DESTDIR=$PKG ninja install install -Dm644 ../COPYING $PKG/usr/share/licenses/$name/COPYING install -Dm644 ../COPYING.LIB $PKG/usr/share/licenses/$name/COPYING.LIB } uptodate() { local url ext url="https://releases.pagure.org/$name/" ext=".tar.gz" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url|grep $name-|grep $ext$|sed "s@$url$name-@@"|sed "s@$ext@@"|tail -1 }