2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kactivitymanagerd
|
2019-04-05 09:31:13 +00:00
|
|
|
pkgver=5.15.4
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc="System service to manage user's activities and track the usage patterns"
|
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
2019-02-12 15:04:21 +00:00
|
|
|
depends_dev="qt5-qtbase-dev kio-dev kdbusaddons-dev ki18n-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev kglobalaccel-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwidgetsaddons-dev kservice-dev kbookmarks-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules boost-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-lang"
|
2019-02-12 15:04:21 +00:00
|
|
|
builddir="$srcdir/$pkgname-$pkgver/build"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-02-12 15:04:21 +00:00
|
|
|
mkdir "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-02-12 15:04:21 +00:00
|
|
|
cd "$builddir"
|
|
|
|
cmake .. \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-12 15:04:21 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
2019-02-12 15:04:21 +00:00
|
|
|
cd "$builddir"
|
2017-11-26 17:08:10 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2019-02-12 15:04:21 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-04-05 09:31:13 +00:00
|
|
|
sha512sums="7cb596954c35c6e3f3dce65cd87a204890b18cf3759b2f82587c1ac8b5bef893acf9e9dcd4269c41737e68bd612a4abe94a15e75d461b1cfa50419dc6edffd38 kactivitymanagerd-5.15.4.tar.xz"
|