void-packages/srcpkgs/kactivities5-stats/template

30 lines
954 B
Bash

# Template file for 'kactivities5-stats'
pkgname=kactivities5-stats
version=5.109.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="boost-devel kactivities5-devel"
short_desc="Library to access statistics data collected by the KDE activity manager"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://api.kde.org/frameworks/kactivities/html/index.html"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname/5/}-${version}.tar.xz"
checksum=dbd016c619035abce1c678fe237d273e1f961d6a969f4537212f5b397b32d270
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
kactivities5-stats-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}