void-packages/srcpkgs/okular/template

31 lines
1006 B
Bash

# Template file for 'okular'
pkgname=okular
version=17.08.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="djvulibre-devel khtml-devel kjs-devel kparts-devel kpty-devel libchmlib-devel libspectre-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=8625462d8426ad903500fe1d6821a65776715932f5746f2a46e911c59cd3f108
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
}
}