# Depends on: lxqt-build-tools desktop-file-utils libfm-qt lxde-menu-data gvfs description="The LXQt file manager, Qt port of PCManFM" url="http://lxqt.org" packager="tnut " contributors="Greg" run=() name=pcmanfm-qt 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 sed -i "s@/usr/share/lxqt/themes/frost/lxqt-origami-light.png@/usr/share/backgrounds/nutyx/nutyx.jpg@" \ $PKG/etc/xdg/pcmanfm-qt/lxqt/settings.conf } 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