05c7579b08
Closes: #10287 [via git-merge-pr]
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'okular'
|
|
pkgname=okular
|
|
version=17.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="discount-devel djvulibre-devel ebook-tools-devel khtml-devel
|
|
kjs-devel kparts-devel kpty-devel libchmlib-devel libkexiv25-devel
|
|
libqmobipocket-devel libspectre-devel libzip-devel plasma-framework-devel
|
|
poppler-qt5-devel qca-qt5-devel qt5-speech-devel threadweaver-devel"
|
|
depends="hicolor-icon-theme oxygen-icons"
|
|
short_desc="KDE Document Viewer"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://kde.org/applications/graphics/okular/"
|
|
distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=0594eb61bd939a596ea5416a682b14ad56120330c3eba11c92b5d72a5b80ff33
|
|
|
|
libokular_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
}
|
|
}
|
|
libokular-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|