32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'kactivities5-stats'
|
|
pkgname=kactivities5-stats
|
|
version=5.73.0
|
|
revision=1
|
|
wrksrc="${pkgname/5/}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
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=df4b00c52e83608b2dd7345cd220143e07b65cb431cead5e9abb1e4ffd6ecd5a
|
|
|
|
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"
|
|
}
|
|
}
|