31 lines
991 B
Bash
31 lines
991 B
Bash
# Template file for 'kactivities5-stats'
|
|
pkgname=kactivities5-stats
|
|
version=5.39.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="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kactivities5-stats"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname/5/}-${version}.tar.xz"
|
|
checksum=9ee15060e4fc2cc6ca9d02a1a196b92c9cdedf437b4d1a56cd6838fe1e76f0a1
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|