2017-11-26 17:08:10 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kactivities-stats
|
2019-05-14 22:30:19 +00:00
|
|
|
pkgver=5.58.0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
|
|
|
arch="all"
|
|
|
|
pkgdesc="A library for accessing the usage data collected by the activities system"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://community.kde.org/Frameworks"
|
2018-08-11 14:00:47 +00:00
|
|
|
license="LGPL-2.1"
|
2019-02-11 13:36:33 +00:00
|
|
|
depends_dev="boost-dev qt5-qtbase-dev kconfig-dev kactivities-dev graphviz-dev qt5-qttools-dev qt5-qtdeclarative-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules doxygen"
|
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2019-02-11 13:36:33 +00:00
|
|
|
builddir="$srcdir/$pkgname-$pkgver/build"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
|
2019-02-11 13:36:33 +00:00
|
|
|
cmake .. \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-02-11 13:36:33 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2019-05-14 22:30:19 +00:00
|
|
|
sha512sums="d819cc9cf3232b47e9eaec6884a4a98f69bf6ffec02db8d2f07d90b7d5b3357c6e87b65eda0f842c80b566e0321b62dc27ed2baefc50c1de15cf9fe98001cd17 kactivities-stats-5.58.0.tar.xz"
|