# Tanım: PDF Belge görüntüleyici
# URL: http://www.kde.org
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: 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
# Grup: ofis
   
isim=okular
surum=17.12.0
devir=1

kaynak=(https://download.kde.org/stable/applications/$surum/src/$isim-$surum.tar.xz)

derle() {
  cd $isim-$surum
  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
}
