description="Plasma Specific Protocols for Wayland" url="https://www.kde.org/" packager="spiky " contributors="Tnut" name=plasma-wayland-protocols version=1.12.0 release=2 makedepends=(extra-cmake-modules qtbase) source=(https://download.kde.org/stable/$name/${name}-$version.tar.xz) build() { cd $name-$version mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. 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)) }