# Depends on: cmake kwindowsystem libsysstat lxqt-build-tools libdbusmenu-qt lxde-menu-data menu-cache lxqt-globalkeys pulseaudio libstatgrab sysstat lm-sensors kguiaddons solid xorg-libxcomposite description="The LXQt desktop panel" url="http://lxqt.org" packager="tnut" contributors="Greg" run=(lxde-menu-data) name=lxqt-panel version=0.12.0 release=2 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 \ -DCMAKE_INSTALL_LIBDIR=lib 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