description="Tools based on KDE Frameworks 5 to better interact with the system " url="https://www.kde.org/" packager="spiky " contributors="Pierre,Fabienwang,Fabienwang,Tnut" makedepends=(kconfig kdoctools kiconthemes kinit ki18n kcmutils kio kservice kwindowsystem kactivities plasma-workspace) set=(kde5) name=kde-cli-tools version=5.26.5 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 ln -sfv ../lib/libexec/kf5/kdesu $PKG/usr/bin/kdesu5 } 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)) }