36 lines
994 B
Bash
36 lines
994 B
Bash
# Template file for 'kdegraphics-mobipocket'
|
|
pkgname=kdegraphics-mobipocket
|
|
version=18.12.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules"
|
|
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/${pkgname}-${version}.tar.xz"
|
|
checksum=58233f44db9ab0b7f6233aced377d55f5101459b92a7e153a8ca055e75fe0c41
|
|
|
|
libqmobipocket_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libqmobipocket-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libq${sourcepkg#kdegraphics-}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
fi
|