31 lines
989 B
Bash
31 lines
989 B
Bash
# Template file for 'kactivities5-stats'
|
|
pkgname=kactivities5-stats
|
|
version=5.51.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
wrksrc="${pkgname/5/}-${version}"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="boost-devel kactivities5-devel"
|
|
short_desc="Library to access statistics data collected by the KDE activity manager"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kactivities5-stats"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname/5/}-${version}.tar.xz"
|
|
checksum=f4e085f0be01554a5dae6e54d5456de32d30c722cb3e942980b6e51291ecf414
|
|
|
|
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/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|