# Depends on: qtsensors qtmultimedia qttools qtvirtualkeyboard kauth kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kcrash kdeclarative kglobalaccel ki18n kiconthemes kinit kio knewstuff knotifications kpackage kservice kwidgetsaddons kwindowsystem kxmlgui plasma-framework kdecoration libepoxy libxcb xcb-util-cursor xcb-util-image xcb-util-keysyms kwayland eudev kde-cli-tools mesa xdg-utils kidletime kscreenlocker breeze description="KDE Window manager " url="https://www.kde.org/" packager="tnut " contributors="Pierre B" run=(libepoxy libxcb xcb-util-cursor xcb-util-image xcb-util-keysyms eudev xdg-utils) name=kwin version=5.12.7 source=(https://download.kde.org/stable/plasma/$version/$name-$version.tar.xz) build() { cd ${name}-$version mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -Wno-dev .. make make DESTDIR=$PKG install } uptodate() { feed=https://github.com/KDE/$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@@@" | \ sed "s@v@@" | \ head -n $(($ligne+1 )) | \ tail -n $(($ligne)) }