# Depends on: lxqt-build-tools liblxqt polkit-qt description="The LXQt policykit authentication agent" url="http://lxqt.org" packager="greg" contributors="" run=() name=lxqt-policykit version=0.12.0 release=1 source=(https://github.com/lxde/$name/releases/download/$version/$name-$version.tar.xz ) prepare() { echo "Fonction prepare sans objet" } build() { mkdir -p build cd build cmake $SRC/$name-$version \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$PKG install } uptodate() { feed=https://github.com/lxde/$name/releases.atom exec="lynx -read_timeout=20 -dump -listonly -nonumbers $feed" ligne=1 # nombre de notification ? afficher $exec $feed | grep title | \ sed "s@@@" | \ sed "s@@@" | \ head -n $(($ligne+1 )) | \ tail -n $(($ligne)) } # Recette editee le 17/10/17 a 10:23:50