description="Plasma library and runtime components based upon KF5 and Qt5 " url="https://www.kde.org/" packager="Tnut " contributors="Pierre,Fabienwang,Tnut,Spiky" makedepends=(tar mesa libxcb qtquickcontrols2 kactivities karchive kconfig kconfigwidgets kcoreaddons kdbusaddons kdeclarative kglobalaccel kguiaddons ki18n kiconthemes kio kservice kwindowsystem kxmlgui knotifications kdoctools kwayland) run=(kirigami2) name=plasma-framework version=5.102.0 source=(https://downloads.tuxfamily.org/nutyx/files/kde-wallpaper-nutyx-11.0.tar.xz https://download.kde.org/stable/frameworks/${version%.*}/${name}-$version.tar.xz) build() { cd $name-$version sed -i 's/${EGL_TARGET}/GL EGL/' src/declarativeimports/core/CMakeLists.txt 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 # NuTyX Wallpaper mkdir -p $PKG/usr/share/wallpapers cp -a $SRC/NuTyX \ $PKG/usr/share/wallpapers/NuTyX mv $PKG/usr/share/wallpapers/NuTyX/default.metadata.desktop \ $PKG/usr/share/plasma/desktoptheme/default/metadata.desktop } 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)) }