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
|
2018-06-13 22:00:52 +00:00
|
|
|
pkgver=5.13.0
|
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"
|
|
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends=""
|
|
|
|
depends_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
|
|
|
|
qt5-qtbase-dev"
|
|
|
|
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"
|
|
|
|
|
|
|
|
prepare() {
|
2017-11-26 17:08:10 +00:00
|
|
|
mkdir "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$srcdir"/build
|
|
|
|
cmake "$builddir" \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$srcdir"/build
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2018-06-13 22:00:52 +00:00
|
|
|
sha512sums="918997f7a2e273fe99c5d2f9bcdef0855c1329c4cd75e40dae9e56d3611cdfd527aa92b9018b5c2e33c60a532f4dc4dac75500cb76c91ff2da39031925d32e81 kactivitymanagerd-5.13.0.tar.xz"
|