1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Document Viewer'
10 url='https://apps.kde.org/okular/'
11 license=(GPL LGPL FDL)
12 groups=(kde-applications kde-graphics)
13 depends=(djvulibre libspectre libkexiv2 poppler-qt5 kpty kactivities threadweaver kjs kparts purpose discount phonon-qt5)
14 makedepends=(extra-cmake-modules ebook-tools kdegraphics-mobipocket kdoctools khtml chmlib)
15 optdepends=('ebook-tools: mobi and epub support'
16 'kdegraphics-mobipocket: mobi support' 'libzip: CHM support'
17 'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support'
18 'unrar: Comic Book Archive support' 'unarchiver: Comic Book Archive support (alternative)'
19 'kde-cli-tools: to configure web shortcuts' 'plasma-workspace: to configure web shortcuts')
20 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
21 sha256sums=('1cc470f8695d9ac53163071aa8b78885efe813df77fb6456cd0946d3309c1db7'
23 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
24 F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
25 D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
29 cmake -B build -S $pkgname-$pkgver \
35 DESTDIR="$pkgdir" cmake --install build