void-packages/srcpkgs/kreport/template
2021-01-14 08:18:08 +07:00

28 lines
936 B
Bash

# Template file for 'kreport'
pkgname=kreport
version=3.2.0
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3 kcoreaddons"
makedepends="ecm-devel kconfig-devel kcoreaddons-devel kguiaddons-devel kproperty-devel
kwidgetsaddons-devel qt5-declarative-devel"
short_desc="Reports creation and generation framework for multiple formats"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://community.kde.org/KReport"
distfiles="${KDE_SITE}/kreport/src/kreport-${version}.tar.xz"
checksum=22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7
patch_args=-Np1
kreport-devel_package() {
depends="${sourcepkg}>=${version}_${revision} kproperty-devel qt5-declarative-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}