void-packages/srcpkgs/libqmobipocket/template

26 lines
935 B
Bash

# Template file for 'libqmobipocket'
pkgname=libqmobipocket
version=22.04.1
revision=1
wrksrc="kdegraphics-mobipocket-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons qt5-host-tools qt5-qmake gettext"
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"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kdegraphics-mobipocket"
distfiles="${KDE_SITE}/release-service/${version}/src/kdegraphics-mobipocket-${version}.tar.xz"
checksum=e7e31efa63d478b049aca107bf8fd9731fcc357b67fdc62dab3f3307f4d41f5d
libqmobipocket-devel_package() {
short_desc+=" - development files"
depends="libqmobipocket>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}