5427d7da1a
* Update KDE Frameworks to 5.41.0 * Bump pkgrel of packages depending on the KDE Framework update
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kactivities-stats
|
|
pkgver=5.41.0
|
|
pkgrel=0
|
|
arch="all"
|
|
pkgdesc="A library for accessing the usage data collected by the activities system"
|
|
url='https://community.kde.org/Frameworks'
|
|
license='LGPL-2.1'
|
|
depends=""
|
|
depends_dev="boost-dev qt5-qtbase-dev kconfig-dev kactivities-dev
|
|
graphviz-dev qt5-qttools-dev qt5-qtdeclarative-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/build"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="1a6a605d87215677f94a048cfb17081ad32e4d8fa6f791fe29a15eadd4095652fdc9bb69c7315235c8b1abc2cf93c37541c17944045af5be52473bb62c00de89 kactivities-stats-5.41.0.tar.xz"
|