# Depends on : qtbase nss cmake doxygen description="Qt5 Cryptographic Architecture" url="http://delta.affinix.com/qca/" packager="tnut " contributors="Pierre B" name=qca-qt version=2.1.3 release=2 source=(qca-openssl-1.1.patch http://download.kde.org/stable/qca/$version/src/qca-$version.tar.xz) build() { cd qca-$version patch -Np1 -i ../qca-openssl-1.1.patch mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF \ -DQCA_SUFFIX=qt5 \ -DQCA_INSTALL_IN_QT_PREFIX=ON \ -DQCA_MAN_INSTALL_DIR=/usr/share/man make make DESTDIR=$PKG install rm $PKG/usr/certs/rootcerts.pem } uptodate() { feed=https://github.com/KDE/qca/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)) }