void-packages/srcpkgs/kdegraphics-mobipocket/template
2019-08-21 21:40:09 +02:00

31 lines
950 B
Bash

# Template file for 'kdegraphics-mobipocket'
pkgname=kdegraphics-mobipocket
version=19.08.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons qt5-host-tools qt5-qmake"
makedepends="kio-devel"
short_desc="Collection of plugins to handle mobipocket files"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/kde/kdegraphics-mobipocket"
distfiles="${KDE_SITE}/applications/${version}/src/kdegraphics-mobipocket-${version}.tar.xz"
checksum=28c6566f32855a43d10829070cc47d0f4c879ca89eb3228ea6274d0f32fa90fe
libqmobipocket_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libqmobipocket-devel_package() {
short_desc+=" - development files"
depends="libqmobipocket>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}