void-packages/srcpkgs/libqmobipocket6/template

26 lines
927 B
Bash

# Template file for 'libqmobipocket6'
pkgname=libqmobipocket6
version=24.05.1
revision=1
build_style=cmake
configure_args="-DQT_MAJOR_VERSION=6"
hostmakedepends="extra-cmake-modules qt6-base gettext"
makedepends="kf6-kconfig-devel qt6-qt5compat-devel"
short_desc="Collection of plugins to handle mobipocket files"
maintainer="Orphaned <orphan@voidlinux.org>"
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=e45d8900c67aee3af0fb9b7f4ca646b7df9aeb2ac47f14be597eba01f9a124ad
libqmobipocket6-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}