# Depends on: cmake qtbase description="A style to bend Qt applications to look like they belong into GNOME Shell" url="https://github.com/MartinBriza/adwaita-qt" packager="greg" contributors="" name=adwaita-qt version=1.0 PKGMK_KEEP_SOURCES="no" source=(https://github.com/MartinBriza/$name/archive/$version.tar.gz) build() { cd $name-$version mkdir -p build-qt5 pushd build-qt5 cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DQT_ROOT=/usr/lib/qt popd make -C build-qt5 make install/fast DESTDIR=$PKG -C build-qt5 } uptodate() { feed=https://github.com/MartinBriza/adwaita-qt/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)) }