# Description: Document Viewer # URL: http://www.kde.org # Packager: alihan-ozturk28@hotmail.com # Depends on : git kf5-extra-cmake-modules kf5-khtml kf5-threadweaver kf5-kactivities kf5-kdelibs4support kf5-kpty plasma-libkscreen freetype poppler-qt5 libspectre djvulibre qca-qt5 libkexiv2 chmlib zlib ebook-tools kf5-kdoctools phonon-qt5 name=okular version=15.12.1+df0c412 release=2 source=(http://anduin.linuxfromscratch.org/BLFS/okular/okular-15.12.1+df0c412.tar.xz ) build() { # git clone -b frameworks git://anongit.kde.org/okular.git cd $name-$version cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins \ -DLIB_INSTALL_DIR=lib \ -Wno-dev make make DESTDIR=$PKG install }